.htaccess deny access to xml files

/ Published in: Apache
Save to your folder(s)

Copy this code and paste it in your HTML
  1. <Files ~ "\.xml$">
  2. Order allow, deny
  3. Deny from all
  4. Satisfy All
  5. </Files>

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.