On Thursday 25 November 2004 17:43, Olaf van der Spek wrote:

> I'm more worried about the data (in MySQL), not the code.
> By protecting the MySQL password from being read by scripts directly and
> only allowing access based on the current vhost, only this vhost can
> access it's own database and not somebody else.

Set default MySQL user and password in your virtual host container. Then 
connect to MySQL without specifying user and password.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Spock: We suffered 23 casualties in that attack, Captain.
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to