My web project security I started a web project. Now I was wondering if it is secure enough. I followed some tutorials on HTS, but I can't see all holes (if there are any). Can you check my pages and if you can find any hole in it (like XSS or SQL injections). Thanks for helping :)!

My URL is: **

And another security question: is my HTTPS certificate safe enough? (**) And my SMTP/SSH/... services?

You can now login using: user: demo, password: test123

User controller code:

&lt;?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class User extends CI_Controller {

    public function create() {
        setHTTPS();
        if ($this-&gt;form_validation-&gt;run() == false) {
            $this-&gt;load-&gt;view('user/create');
        } else {
            $this-&gt;MUser-&gt;create();
            $this-&gt;load-&gt;view('user/email_sent');
        }
    }

    public function login() {
        setHTTPS();
        if ($this-&gt;form_validation-&gt;run() == false) {
            $this-&gt;load-&gt;view('user/login');
        } else {
            $this-&gt;MUser-&gt;createSession();
            $this-&gt;MUser-&gt;checkLogin();
            $this-&gt;load-&gt;view('user/dashboard');
        }
    }

    public function logout() {
        setHTTPS();
        if ($this-&gt;MUser-&gt;login()) {
            $this-&gt;MUser-&gt;logout();
            $this-&gt;load-&gt;view('user/logout');
        } else {
            $this-&gt;load-&gt;view('user/logout_failed');
        }
    }

    public function dashboard($username) {
        setHTTPS();
        $this-&gt;MUser-&gt;checkLogin();
        $this-&gt;load-&gt;view('/user/dashboard');
    }

    public function verify($userID, $code) {
        setHTTPS();
        $safeCode = urldecode($code);
        if ($this-&gt;MUser-&gt;checkVerifyCode($userID, $safeCode)) {
            $this-&gt;MUser-&gt;cleanVerifyCode($userID);
            $this-&gt;MUser-&gt;setActive($userID);
            mailSignupComplete($userID);
            $this-&gt;load-&gt;view('user/signup_complete');
        } else {
            $this-&gt;load-&gt;view('user/validation_failed');
        }
    }

    public function password($userID = null, $verifier = null) {
        setHTTPS();
        if ($userID !== null) {
            $safeCode = urldecode($verifier);
            if ($this-&gt;MUser-&gt;checkPasswordCode($userID, $safeCode)) {
                $this-&gt;MUser-&gt;updatePassword($userID);
                $this-&gt;load-&gt;view('user/password_succes');
            } else {
                $this-&gt;load-&gt;view('user/password_failed');
            }
        } else {
            if ($this-&gt;form_validation-&gt;run() == false) {
                $this-&gt;load-&gt;view('user/password');
            } else {
                $this-&gt;MUser-&gt;addRecoverPasswordEntry();
                $this-&gt;load-&gt;view('user/password_sent');
            }
        }
    }

}

/* End of file user.php */
/* Location: ./application/controllers/user.php */
Check your MySQL database. If you have another table called "websiteIsNotSecure" then you need to sanitize your database inputs. Also, it'd be easier to check security if we had some code to look at. You can't view PHP code, it's all parsed/executed on the server.