4

How would I go about restricting access to a PHP admin page?

Comments
  • 7
    Uninstall php?
  • 0
    Give your db user entries a special value if they are admins and only show the site to users with the value set. And/or use http auth
  • 1
    @BindView Lol, that was funny xD
  • 1
    you can restrict access to it via .htaccess either by specific IP address or a password.
    google it
  • 2
    Do you use a framework or just "plain" php? Whatever you use, take a look at bcrypt (http://php.net/manual/en/...) to hash the user passwords!
Add Comment