Jump to content

Restricted admin panel


etrader

Recommended Posts

I have a simple php, and now I created an admin folder for it. How I can make this folder password protected?

 

Should I introduce a restricted folder in webserver (Nginx or Apache)

 

or

 

I should introduce an authentication system by php as the password is stored in mysql databse?

 

or any other practical idea?

Link to comment
https://forums.phpfreaks.com/topic/240180-restricted-admin-panel/
Share on other sites

well I have seen system implementing the same concept in PHP by writing the generalized class . If it is ONLY for one directory then you can think of  making the folder password protected by using Apache .The suggested solution is little graceful in comparison [As per my thoughts].

 

Or else let wait for some other people to jump with more thoughts :).

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.