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: blu at nedharvey.com (Edward Ned Harvey (blu))
- Date: Sat, 31 Jan 2015 23:03:37 +0000
- In-reply-to: <54CCF4A4.6040703@borg.org>
- References: <54CCF4A4.6040703@borg.org>
> From: Discuss [mailto:discuss-bounces+blu=nedharvey.com at blu.org] On > Behalf Of Kent Borg > > My program already has to hope that its program files are secured by the > hosting OS, but at least if it isn't opening up a network port it stays > a rather contained problem. Depends on a lot of stuff. What language? Running on a system you own, or deployed to someone else, etc? Normally, passwords that your app needs in order to connect to some other thing should be stored in a config file. Ideally, it should be an OS-encrypted store, for example in C# I would use ProtectedData. This encrypts the file on disk using a complex set of login stuff to derive a key specific to the logged in user - or in mono, the mono MRE generates random keys and stores them in a protected subdir in the users' home dir, so once again it's protected to the logged in user.
- Follow-Ups:
- [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?
- 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?
- 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):