Securing database credentials
Posted by: Gnissem
Posted on: 2005-12-24 12:07:00
What is the best way to secure data base credentials on dreamhost for a PHP application? I've seen a bunch of varying suggestions which generally involve putting the credentials into a separate included file, but where to locate that file and/or whether to utilize environment variables varies, and whether or not you have access to php.ini also seems to make a difference (which I guess is not possible unless I run my own copy of PHP which I don't really want to do). Thanks.
Edited by Gnissem on 12/24/05 12:22 PM (server time).