Re:Chat app fined for plaintext passwords under GDPR
by y7 on Monday November 26, 2018 @09:47AM
(#18533656)
Easiest way is to do it on the client. The client has the plaintext password anyway.
[ Parent
| on HN ]
Re:Chat app fined for plaintext passwords under GDPR
by crazygringo on Monday November 26, 2018 @09:56AM
(#18533722)
Good point.
But is storing a plaintext password, even on the client, good practice? E.g. in a browser that uses a cookie with something like a session ID to make sure you're logged-in... is storing a plaintext password in localStorage considered a valid security practice? I would have assumed not, although it's certainly not close to as bad as storing it on the server...
Re:Chat app fined for plaintext passwords under GDPR
by xianb on Monday November 26, 2018 @10:21AM
(#18533889)
if you store plaintext password on the client, you'd be one XSS attack away from potentially having a lot of passwords stolen - best practice is to have password in plaintext for a little as possible (there's some research on not transmitting the password at all but I don't think there's anything widely accepted like bcrypt is for password hashing https://en.wikipedia.org/wiki/Zero-knowledge_password_proof)