Re: Secure Password (MySQL) Storage

From: Date: Thu, 25 Nov 2004 21:52:42 +0000
Subject: Re: Secure Password (MySQL) Storage
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-202870@lists.php.net to get a copy of this message
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?

« previous php.general (#202870) next »