I\'m wondering what techniques you use to store the database credentials for your application. I\'m specifically concerned with java webapps, but I don\'t think there\'s any ne
In Django, the credentials are in your settings.py
configuration file. Since this is not generally kept in your /var/www/
directory tree, it's very safe.
Also, a single Django application may be used (and reused) for many web sites or web servers on the same host, each with it's own distinct settings. So the settings.py
configuration is not bundled with the app, but is part of a single deployment of the app.