public function secure($level)
    {
        if ($level < 1 || $level > 3) {
            throw new Exception('Invalid security level', 2);
        }

        $this->levelSecure = (int) $level;

        return $this;
    }