Re:Hover.com: we store & email passwords in plaintext for us...
by ori_b on Monday July 04, 2011 @02:34PM
(#2727361)
What good would that do? If an attacker gets in, they can get the key just as easily as they can get the database.
[ Parent
| on HN ]
Re:Hover.com: we store & email passwords in plaintext for us...
by HaloZero on Monday July 04, 2011 @02:39PM
(#2727375)
But if you encrypt it with a key, then SQL injection attacks can't collect passwords as easily. You need to hack in and get the actual key to decrypt.
Re:Hover.com: we store & email passwords in plaintext for us...
by JohnsonB on Monday July 04, 2011 @02:38PM
(#2727373)
Not necessarily, if they hack into one system then getting into another isn't automatic. If the passwords are in a separate filesystem/database than the key, and linked only with software, then unless it's the software that's comprised it would still increase the difficulty of getting both the password and key significantly. It also prevents trivial browsing of passwords via sql commands by rouge employees.
Re:Hover.com: we store & email passwords in plaintext for us...
by __david__ on Monday July 04, 2011 @03:53PM
(#2727652)
With symmetric encryption, probably (assuming the data wasn't gleaned with a purely SQL injection attack). With public key/private key encryption you could probably do it more securely by not letting the private key anywhere near the main app/web servers.
Of course, the more separation you have between the public and private keys, the less convenient it is to actually do anything useful with the plaintext.