In A Perfect World, This Is How Web Sites Would Handle Login Forms
1–10 of 17 posts
Re: In A Perfect World, This Is How Web Sites Would Handle Login Forms
#2Re: In A Perfect World, This Is How Web Sites Would Handle Login Forms
#3Here's the professional way to do this:
"An application should respond with a generic error message regardless of whether the user ID or password was incorrect. It should also give no indication to the status of an existing account."
Re: In A Perfect World, This Is How Web Sites Would Handle Login Forms
#4Re: In A Perfect World, This Is How Web Sites Would Handle Login Forms
#5The downside is that if my email account is compromised then my account with the service is also compromised, but if that's the case then most 'forgotten password' systems would be equally broken.
Re: In A Perfect World, This Is How Web Sites Would Handle Login Forms
#6Whatever you do, DON'T follow this advice. It's utterly wrong. Here's the professional way to do this: "An application should respond with a generic error message regardless of whether the user ID or password was incorrect. It should also give no indication to the status of an existing account." https://www.owasp.org/index.php/Authentication_Cheat_Sheet
Re: In A Perfect World, This Is How Web Sites Would Handle Login Forms
#7Re: In A Perfect World, This Is How Web Sites Would Handle Login Forms
#8This is a terrible idea. At this rate, you're just handing out your data! It is a matter of practicality and security. When someone enters a username and password, you do not know who may be on the other end. Telling them that the username is correct but the password is wrong puts an attacker one step closer to gaining access.
Re: In A Perfect World, This Is How Web Sites Would Handle Login Forms
#9(Android already has this. Android developers: Please use AccountManager. I am highly unlikely to create an account with you.)
I can't count the number of times I've just "oh well, nevermind" when I couldn't remember the stupid credentials I used with some application, or couldn't be bothered to create new ones. Not to mention the well-documented security problems with asking users to manage passwords.
Blech I say. Blech. I'm sad that it's 2014 and this is still unsolved.
Re: In A Perfect World, This Is How Web Sites Would Handle Login Forms
#10Whatever you do, DON'T follow this advice. It's utterly wrong. Here's the professional way to do this: "An application should respond with a generic error message regardless of whether the user ID or password was incorrect. It should also give no indication to the status of an existing account." https://www.owasp.org/index.php/Authentication_Cheat_Sheet