This has been addressed at the IT Security Stack Exchange site.
It's a lot harder for an attacker to guess valid useame-password combinations than just passwords. Once the existence of an account is confirmed, it can be targeted (perhaps with some outside research on sites like Facebook).
It's also a lot more convenient for web sites to retu a generic authentication failure if they query the database for both parts of the user's credentials at the same time.
In general, it's not good to reveal more information than necessary. Some attackers might want to grab the list of ("enumerate") users, perhaps for phishing.
Also, what if a user mistypes the useame to produce a different user's name but gets its password right? Then the message would say "wrong password" even though the mistake was actually in the useame.
- - , .
برچسب:
نویسنده: استخدام کار