I am not sure which file you are trying to block - but its rather simple to do whatever the file is.
you would need to use an allow deny rule.
ex:
<Files ~ "^\.xml">
Order allow,deny
Deny from all
</Files>
You can do specific filenames whatever.
you can also allow say only certain refers to access.
<Files ~ "^\.xml">
Order allow,deny
Deny from all
Allow from .somedomain.com
Allow from .someotherdomain.com
</Files>
Check itHTH
This Post was from: https://www.impresscms.org/iforum/viewtopic.php?topic_id=3996&post_id=36149