On Sun, Dec 14, 2008 at 9:54 AM, Kalan kalan.001@gmail.com wrote:
On Sun, Dec 14, 2008 at 21:45, Aryeh Gregor Simetrical+wikilist@gmail.com wrote:
So how do you store your passwords, such that the web server can read them to connect to the database but can't read them to serve the files containing the passwords?
Every user has a ~/.my.cnf file outside the public_html directory. The file is readable by any scripts run on behalf of this user.
Right, I forgot that on the toolserver scripts run as their owner and not the web server or a dedicated user.