[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Privacy in virtual hosting environment

On Thu, Apr 17, 2003 at 03:42:03PM +0100, Darren Clark wrote:
> To lock down php scripts running in a virtual host you can use the
> open_basedir directive in the apache conf. This will ensure that no
> scripts running in the directory can read files outside of the specified
> directory. e.g
> php_value open_basedir  /home/vhost/vhostsite

Assuming you also lock down system() and other such commands...
This was discussed on this list recently (where I was taught a thing or
two. :-)


Paul "TBBle" Hampson, MCSE
6th year CompSci/Asian Studies student, ANU
The Boss, Bubblesworth Pty Ltd (ABN: 51 095 284 361)

Of course Pacman didn't influence us as kids. If it did,
we'd be running around in darkened rooms, popping pills and
listening to repetitive music.
 -- Kristian Wilson, Nintendo, Inc, 1989

This email is licensed to the recipient for non-commercial
use, duplication and distribution.

Attachment: pgpNbZ9IxBC44.pgp
Description: PGP signature

Reply to: