Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Feb 2004 22:55:57 +0100
From:      Juan Jose Sanchez Mesa <juanjo.listas@dobleJ.net>
To:        <isp@freebsd.org>
Cc:        isp@freebsd.org
Subject:   RE: Apache and home directories (file browser).
Message-ID:  <2004216225557.966318@juanjo>
In-Reply-To: <HJEELFHCPNPOPDIOMAKBOEDJCDAA.shawnm@iodamedia.net>

next in thread | previous in thread | raw e-mail | index | archive | help
>
> What happens when someone else loads up the same type of package.  They=
 can
> then go scrolling through everyone else's directories.
>

In PHP, use safe_mode to avoid this. 

>
> /home/joe/access_list     <---  Access list for Joe's .htaccess files
> /home/tim/public_html/file_add.php  <--  Some script Tim has in his
> directory
>

If you set open_base_dir value to '/home/tim/public_html/', the PHP executed=
 in this vhost, can't access any directory/file below it.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2004216225557.966318>