Re: Subdirectory security

From: Date: Tue, 26 Sep 2000 02:37:48 +0000
Subject: Re: Subdirectory security
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-17492@lists.php.net to get a copy of this message
On Fri, 22 Sep 2000, Andrés wrote: > Hello. > > Is there any way to stop someone from accessing a file under the doc_root? > As there's a directive to define the document root, is there anything > similar to stop PHP from acessing a whole subdirectory under that document > root? > > Thanks. > If you are using apache, just deny access to that subdirectory. <Directory "/path/to/wherever"> Order deny, allow Deny from all </Directory> -- David Robley | WEBMASTER & Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet | http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH AUSTRALIA

« previous php.general (#17492) next »