Reaper0167 Posted March 7, 2010 Share Posted March 7, 2010 I'm looking to create a secure page that will pretty much show what is in my databse. This page will also allow me to edit what is in the database(delete,modify,etc.) What would the be the best way to secure this from other members reaching this page? I was thinking -check ip, if ip is mine let me in, if not, no entry -check session member name, same as above I really need to have this page secure so all the other members could not go in and delete anything. Any ideas? Link to comment https://forums.phpfreaks.com/topic/194457-secure-php-admin-page/ Share on other sites More sharing options...
Anti-Moronic Posted March 7, 2010 Share Posted March 7, 2010 This is why they created phpmyadmin Creating that from within your app would be fairly pointless unless it could be super simple. Phpmyadmin does it all. Saying that, to answer your question: -) yep, checking ip is a good security measure which is basically fool proof if every single request must be accompanied by the correct ip or ip range. You wouldn't even need to create a session with the above solution, and if you did, you would then be checking a session (which can be fooled) as oppose to an absolute ip which can't be fooled. Link to comment https://forums.phpfreaks.com/topic/194457-secure-php-admin-page/#findComment-1022809 Share on other sites More sharing options...
Reaper0167 Posted March 7, 2010 Author Share Posted March 7, 2010 yeh, your right myAdmin is the best bet. Thanks. Link to comment https://forums.phpfreaks.com/topic/194457-secure-php-admin-page/#findComment-1022824 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.