Re: Protecing files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux