RE: [PHP] Protecing files

From: Date: Mon, 29 Aug 2005 14:15:03 +0000
Subject: RE: [PHP] Protecing files
Groups: php.general 
Request: Send a blank email to php-general+get-221504@lists.php.net to get a copy of this message
[snip] 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? [/snip] You can put them outside of the web root so that they are not accessible to the general public.

« previous php.general (#221504) next »