Hi:

My .htaccess file is pretty complete, and has most of the security features I would like, but it is actually blocking something I need to have accessible.

I want to block access to all xml files, except 3 specific files. Currently, my .htaccess file contains the following lines:

Code:
## Deny access to extension xml files (uncomment out to activate)
<Files ~ "\.xml$">
Order allow,deny
Deny from all
Satisfy all
</Files>
## End of deny access to extension xml files
This does its job well in blocking all access to all xml files.

However, I want to allow access to the following 3 files:

Code:
http://mydomain.com//sitemap.xml
http://mydomain.com/index.php?option=com_xmap&sitemap=3&view=xml
http://mydomain.com/BingSiteAuth.xml
where mydomain.com is my web site address.

How do I block all XML files except these three?