Jason Wong wrote:
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.

That's a reasonable solution, but what if multiple SQL users per vhost are needed?


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



Reply via email to