Re: Protecing files

From: Date: Mon, 29 Aug 2005 14:20:21 +0000
Subject: Re: Protecing files
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-221506@lists.php.net to get a copy of this message
Thomas wrote:
Hi there, How can I protect all files with extension .xml from being accessed by the outside? For Apache can one use .htaccess (if yes, how?), is there a generic way of keeping stalkers from viewing your config files?
You can put them outside of the web root, or you can use .htaccess. For .htaccess, look at the Apache manual. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 john@kegworks.com

« previous php.general (#221506) next »