Is it dangerous to keep an admin page to administer your database?

Posted by Scarface on Stack Overflow See other posts from Stack Overflow or by Scarface
Published on 2010-03-30T20:48:06Z Indexed on 2010/03/30 20:53 UTC
Read the original article Hit count: 415

Filed under:
|
|

Hey guys I have an admin page that checks if you are admin before submitting any queries, and contains a header to the index page if you are not admin, but I am worried about protecting the page. I am concerned someone may be able to destroy my database with it. Does anyone have any recommendation into protecting a page like this, if not, should I just manually admin my database through phpmyadmin and delete the page all together?

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql