Set the username and password for your database to whatever you want. It doesn't have to be nobody/nobody. Pass the username and password from an include file.
Miles Thompson At 09:31 PM 1/6/2002 -0800, patrick gibson wrote: >I'm new to PHP, and I have a question regarding the storage of connection >properties to the database. I have a site on a shared (Unix) server. I'm >adding some PHP to a section which will be database-driven. I'm concerned >about storing the username and password to my database (some of the data >contained within this database is sensitive) in my PHP files which are >readable by the webserver, and thus by anyone on the system. > >Is there a recommended strategy for keeping my database username and >password in a secure location so that no other user can access the files? >Any help would be greatly appreciated. > >Thanks very much, > >Patrick > >---| patrick gibson |---------------+ > email: email @ patrickg.com > url: http://patrickgibson.com/ >------------------------------------+ > > >-- >PHP Database Mailing List (http://www.php.net/) >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]