Showing posts with label protect. Show all posts
Showing posts with label protect. Show all posts

Thursday, 9 October 2014

How to protect your file content using htaccess?

# Prevent Apache from serving .htaccess files:
<FilesMatch "^\.htaccess">
    Order allow,deny
    Deny from all
</FilesMatch>