[nycphp-talk] shared server security [Session problem on virtual host]

David Mintz dmintz at
Thu Jan 20 16:15:30 EST 2005

On Thu, 20 Jan 2005, David Mintz wrote:

> On Thu, 20 Jan 2005, Rolan Yang wrote:
> > Your post reminded me of an problem I have with shared hosts. Is there
> > any way to hide/protect the mysql login/password from other users who
> > may have shell access to the same machine?

I forgot to mention another possible solution. Run in cgi mode under
php-cgiwrap, so your scripts run as you; then chmod your scripts to 600 so
others (such as 'nobody' and your fellow hosting customers) can't read


David Mintz

"Don't let the liberal media tell you what to think
and feel. If you have hatred in your heart, let it out."

   -- Clayton Bigsby, black white supremacist

More information about the talk mailing list