Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month, online, via Jitsi Meet.

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?



> From: Kent Borg [mailto:kentborg at borg.org]
> 
> On 01/31/2015 06:03 PM, Edward Ned Harvey (blu) wrote:
> > Depends on a lot of stuff. What language? Running on a system you own,
> > or deployed to someone else, etc?
> 
> Daemons, written in Python, on a machine I fully control.

The best you can do is put the passwords into a config file with locked-down permissions.  Make sure the passwords are randomly generated, and securely communicated with the server - SSL or whatever.

Although it doesn't provide real security, it does no harm to use some obfuscation - Encrypt with a key that's hard-coded into the application.



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org