I have a web application written in Perl using PostgreSQL.
When accessing the PostgreSQL database, I need to specify both the username and password. To have access to a password to automatically start the system, I need this password built into my application or into a configuration file or as an environment variable configured in Apache.
In any case, I should have a password in text format somewhere.
How is this done on real websites?
source
share