Jump to content

Admin control panel


slj90

Recommended Posts

Hello,

 

I don't need help with any coding at this stage, however, I am interested to know the most secure way to have an Admin page on my website. There will only ever be one admin account. Is the best way to have 'user_level' in the member database? Should the login script take into account the admin user or should I have a separate login page just for the admin? I would be interested to know what method commercial websites with thousands of users use?

Thanks,

 

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

IMHO if you have a secure login page (with all that the word 'secure' entails) already working, then adding another column to the table behind the login is the way to go.  It gives you the freedom to use it for new features that may be added later as well as the ability to add that 'extra' admin person without having to do any coding.  Simply checking the user's login data for the correct 'security level' obtained as part of the login process gives you the ability to control access to any part of your appl.

Link to comment
https://forums.phpfreaks.com/topic/286100-admin-control-panel/#findComment-1468468
Share on other sites

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.