|
|
|
|
|
by coder543
1522 days ago
|
|
> Servers should never see the actual password. Are you actually doing client-side hashing in addition to hashing on the server side? Otherwise, yes, the server does see the password. In most applications, a compromised server could just serve a login page that doesn't do the client-side hashing anymore if the malicious actor wanted to collect credentials, so I don't see how this added complexity is really adding any security. The real way to add more security is to minimize dependence on passwords by implementing a better, second factor of authentication, such as TOTP, WebAuthn, SSO, or even SMS or email tokens. Unless a person is using a password manager to generate their passwords, then passwords are almost always terrible and weak, and usually reused across sites. More of my opinion is shared over here[0]. [0]: https://news.ycombinator.com/item?id=30559443 |
|
That takes much more time and requires the attacker to be able to, unnoticed, change the served data.