Re: Protecing files

From: Date: Tue, 30 Aug 2005 17:14:42 +0000
Subject: Re: Protecing files
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-221610@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? Thomas SPIRAL EYE STUDIOS P.O. Box 37907, Faerie Glen, 0043 Tel: +27 12 362 3486 Fax: +27 12 362 3493 Mobile: +27 82 442 9228 Email: thomas.hochstetter@gmx.net Web: <http://www.spiraleye.co.za> www.spiraleye.co.za What are you using the xml files for? There may be good solutions, depending on the use.
Do they need to render directly or can you use a php wrapper and encode the xml stuff within it?

« previous php.general (#221610) next »