BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] Passwords in Source Code?? Or, How to secure interprocess communications?
- Subject: [Discuss] Passwords in Source Code?? Or, How to secure interprocess communications?
- From: kentborg at borg.org (Kent Borg)
- Date: Sat, 31 Jan 2015 18:49:42 -0500
- In-reply-to: <1AD5573E-3455-4521-B0E0-DE49A21F3BED@gmail.com>
- References: <54CCF4A4.6040703@borg.org> <BN3PR0401MB12047C55630B33A85B6EDACCDC3E0@BN3PR0401MB1204.namprd04.prod.outlook.com> <54CD6472.4010205@borg.org> <1AD5573E-3455-4521-B0E0-DE49A21F3BED@gmail.com>
On 01/31/2015 06:30 PM, Gordon Marx wrote: > None of that matters. Huh? > Code goes in version control. Secrets that you want to keep secret don't. Therefore, you can't put secrets into your code. Yes, that's why I brought up the question. We agree. > Write the username and password into a configuration file, That is my current approach. > get the username and password from the environment, or use a non-password auth mechanism like an SSL certificate. Even more non-standard, make up a new one every time the OS boots, set the postgres password then, too. Because this is only used to communicate within the machine, no one else cares whether it changes. A file with narrow permissions is safer than trusting "localhost" restrictions. -kb
- References:
- [Discuss] Passwords in Source Code?? Or, How to secure interprocess communications?
- From: kentborg at borg.org (Kent Borg)
- [Discuss] Passwords in Source Code?? Or, How to secure interprocess communications?
- From: blu at nedharvey.com (Edward Ned Harvey (blu))
- [Discuss] Passwords in Source Code?? Or, How to secure interprocess communications?
- From: kentborg at borg.org (Kent Borg)
- [Discuss] Passwords in Source Code?? Or, How to secure interprocess communications?
- From: gcmarx at gmail.com (Gordon Marx)
- [Discuss] Passwords in Source Code?? Or, How to secure interprocess communications?
- Prev by Date: [Discuss] Passwords in Source Code?? Or, How to secure interprocess communications?
- Next by Date: [Discuss] Passwords in Source Code?? Or, How to secure interprocess communications?
- Previous by thread: [Discuss] Passwords in Source Code?? Or, How to secure interprocess communications?
- Next by thread: [Discuss] Passwords in Source Code?? Or, How to secure interprocess communications?
- Index(es):