Re:How crackers ransack passwords like “qeadzcwrsfxv1331”
by danielweber on Tuesday May 28, 2013 @12:45PM
(#5781048)
I know at least one major security company (that deals with Fortune 500 companies) is recommending having an extra key inside the app server, distinct from the database, since there are situations where someone can get the a copy of the DB and not your server.
The fact that they're big doesn't mean they're right, of course. But I know I've seen a bunch of news stories about DB leaking and I haven't seem a bunch about the source code to the website leaking. (Obviously there is some confirmation bias there.)
Re:How crackers ransack passwords like “qeadzcwrsfxv1331”
by eropple on Tuesday May 28, 2013 @05:56PM
(#5783115)
For sure, and I've done similar myself in the past, but let's be real here--they actually have app/DB separation in those cases. They're definitely not running on Google App Engine, where it's much more likely that they're getting data through an exploit in your app than by getting ahold of the database.
For the 99% case, 'pepper's are illusory security.
And you should still be using bcrypt. (Or PKBDF2, or scrypt, whatever. Just not something where a "pepper" actually ends up mattering.)
Re:How crackers ransack passwords like “qeadzcwrsfxv1331”
by markdown on Tuesday May 28, 2013 @08:12PM
(#5783738)
> And you should still be using bcrypt. (Or PKBDF2, or scrypt, whatever. Just not something where a "pepper" actually ends up mattering.)
As I said, you can't use any of these on Google App Engine. They're not provided by the platform, and you can't upload them yourself because they use C.
Re:How crackers ransack passwords like “qeadzcwrsfxv1331”
by eropple on Wednesday May 29, 2013 @04:26PM
(#5788850)
Right, so, like I said, don't use deficient platforms. Your users' security is more important than your ease of use.
And 'peppers' don't do anything of significant value in such an environment, either, because your app's going to get owned before your database is.
If bcrypt isn't an option, you straight-up need a better platform. It's inexcusable to refuse to protect your users--if you're not using bcrypt/scrypt/PKBDF2 you're mistreating your users.
[1] - https://news.ycombinator.com/item?id=5663818