dtyson2000 Posted October 8, 2012 Share Posted October 8, 2012 I have a quick question... Does it sound reasonable to provide a login form that uses a login name and password where the user enters his/her login name but then has a choice to use one of two passwords. One password would provide access to certain areas of the site while the other password would be limited to a specific page. Client wants to use one username but only allow certain people limited access. Is there a resource that you can point me to or a quick suggestion for a solution? Thanks so much for taking the time to read! Quote Link to comment https://forums.phpfreaks.com/topic/269203-login-two-potential-passwords/ Share on other sites More sharing options...
jcbones Posted October 8, 2012 Share Posted October 8, 2012 You could use a separate table for an admin password for a certain user(s) linked by a foreign key. It adds a little bit of security. Of course, you can have a column in the users table that specifies if the users have a certain level of access. Quote Link to comment https://forums.phpfreaks.com/topic/269203-login-two-potential-passwords/#findComment-1383582 Share on other sites More sharing options...
ManiacDan Posted October 8, 2012 Share Posted October 8, 2012 How would you go about doing logging or auditing with two versions of the same user? Why does your client want one username but two users? Why are people sharing usernames to begin with? This whole thing sounds like an unreasonable client asking for something dumb. They pay you to be smart with computers. Tell them when their idea is stupid. Quote Link to comment https://forums.phpfreaks.com/topic/269203-login-two-potential-passwords/#findComment-1383604 Share on other sites More sharing options...
dtyson2000 Posted October 8, 2012 Author Share Posted October 8, 2012 How would you go about doing logging or auditing with two versions of the same user? Why does your client want one username but two users? Why are people sharing usernames to begin with? This whole thing sounds like an unreasonable client asking for something dumb. They pay you to be smart with computers. Tell them when their idea is stupid. And THIS is the solution...really. You're totally right! Quote Link to comment https://forums.phpfreaks.com/topic/269203-login-two-potential-passwords/#findComment-1383642 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.