I don't get it. It's fine to leak/allow user enumeration on the login page because it's leaked elsewhere anyway? That's a pretty big assumption. One way to allow users to register using their email address without leaking any information is to just say "user created, please check your inbox to confirm your email address" or something like that. If the user already exists, swap the confirmation email for a warning ema…
“Invalid Username or Password”: a useless security measure (2014)
111–120 of 289 posts
Re: “Invalid Username or Password”: a useless security measure (2014)
#112Re: “Invalid Username or Password”: a useless security measure (2014)
#113> 99.9% of websites on the Internet will only let you create one account for each email address. So if you want to see if an email address has an account, try signing up for a new account with the same email address. This is not true if the signup flow is implemented correctly. Signing up for an account should always respond with the same message "we sent an email for you to confirm your account signup". The owner of…
Re: “Invalid Username or Password”: a useless security measure (2014)
#114> 99.9% of websites on the Internet will only let you create one account for each email address. So if you want to see if an email address has an account, try signing up for a new account with the same email address. This is not true if the signup flow is implemented correctly. Signing up for an account should always respond with the same message "we sent an email for you to confirm your account signup". The owner of…
Another method is to delegate the registration and login flow to external providers, using OAuth. If you have to log in to a website via one of Microsoft, Google, Facebook, Twitter, etc. then, if implemented properly, there's no way of knowing if an account associated with this external identity exists already.
Re: “Invalid Username or Password”: a useless security measure (2014)
#115Earlier quoted context omitted.
You shouldn't be doing long web forms before creating an account anyway.
You shouldn't be taking my email just to demand lots of information from me after I already gave my email to you. If you demand lots of information that should be clear right away.
People shouldn't be making long forms part of account creation unless absolutely necessary; in which case it should already be obvious to the user that it is.
If it's somehow necessary but not obvious, you can put up a friendly warning. Maybe something like, "Step 1/12" or "expected registration time 15min."
Re: “Invalid Username or Password”: a useless security measure (2014)
#116Related question: what's the deal with having a login form that only takes a username, and then only shows a password field after you've pressed enter? I find this very annoying and can't come up with a benefit.
Re: “Invalid Username or Password”: a useless security measure (2014)
#117> 99.9% of websites on the Internet will only let you create one account for each email address. So if you want to see if an email address has an account, try signing up for a new account with the same email address. This is not true if the signup flow is implemented correctly. Signing up for an account should always respond with the same message "we sent an email for you to confirm your account signup". The owner of…
And then what happens when the user tries to login with the password they just "created". They will get the same error message as before, but be extremely confused since they just "registered" with that password. Not to mention their browser may have prompted and stored the fake registration password, etc.
Re: “Invalid Username or Password”: a useless security measure (2014)
#118Earlier quoted context omitted.
Another method is to delegate the registration and login flow to external providers, using OAuth. If you have to log in to a website via one of Microsoft, Google, Facebook, Twitter, etc. then, if implemented properly, there's no way of knowing if an account associated with this external identity exists already.
Most of those are trying to track me around the net for their own purposes. I'm not volunteering any extra information for them to profile me with. No thanks.
Re: “Invalid Username or Password”: a useless security measure (2014)
#119Edit: a rebuttal is mightier than a downvote.
Re: “Invalid Username or Password”: a useless security measure (2014)
#120Earlier quoted context omitted.
In simple registrations this is fine. In multi-page registrations with long forms, it can waste the user's time by making them input all the data again when it wasn't needed, though. Except in really critical applications like payments, etc., as a user I'd rather have the convenience of being warned early about already having an account that the little extra security.
You shouldn't be doing long web forms before creating an account anyway.