RE: [PHP] Protecting database passwords

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: RE: [PHP] Protecting database passwords
Groups: php.general 
Request: Send a blank email to php-general+get-189397@lists.php.net to get a copy of this message
> argh. just make the file readable by root and the user that runs > apache/php and you're done. Which unfortunately is installation specific. I.e., if I am distributing a program and want to install a file which the user modifies to contain the passwords, I have to direct the user to manually update the permissions of that file to suit his site. > p.s. btw hashes will help you (keep the contents of the file secure > which is your ultimate goal is it not?). How can I use a password hash to log on to a database server (or for any other login for that matter)? -Bob

« previous php.general (#189397) next »