Re:How Dropbox securely stores your passwords
by shawabawa3 on Wednesday September 21, 2016 @11:01AM
(#12548758)
I've heard before of it just being stored in the codebase. Doesn't add much security but it does mean both the database server and at least 1 of the app servers or the codebase have to be breached
[ Parent
| on HN ]
Re:How Dropbox securely stores your passwords
by koolba on Wednesday September 21, 2016 @11:13AM
(#12548898)
> I've heard before of it just being stored in the codebase.
Yuck! At the very least put it in an environment variable. Best case is loaded once at server boot from an HSM, kept only in memory, and rotated on a regular basis.
Having it in the code, like all other config, is a terrible idea.
Re:How Dropbox securely stores your passwords
by sandGorgon on Wednesday September 21, 2016 @12:44PM
(#12549878)
If we don't have a hsm? Apparently,neither does Dropbox. So how do you engineer one ?
Re:How Dropbox securely stores your passwords
by morgante on Wednesday September 21, 2016 @02:04PM
(#12550683)
Use something like Vault: https://www.vaultproject.io/