Best way to store a database password in a startup script / config file? | 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!