Best way to store a database password in a startup script / config file?
Posted
by Mark Harrison
on Stack Overflow
See other posts from Stack Overflow
or by Mark Harrison
Published on 2008-08-14T06:10:25Z
Indexed on
2010/05/25
8:01 UTC
Read the original article
Hit count: 186
So our web server apps need to connect to the database, and some other apps have startup scripts that execute at boot time.
What's the best way to store the name/password for these applications, in terms of
- security, e.g. perhaps we don't want sysadmins to know the database password
- maintainability, e.g. making the configuration easy to change when the password changes, etc.
both windows and linux solutions appreciated!
© Stack Overflow or respective owner