Deny Directory Access

Last modified: 
Thursday, October 8th, 2015

Deny directory access with .htaccess file

Deny all access

# .htaccess
Deny from all 

Whitelist IP address

order deny,allow
deny from all
allow from


The operator of this site makes no claims, promises, or guarantees of the accuracy, completeness, originality, uniqueness, or even general adequacy of the contents herein and expressly disclaims liability for errors and omissions in the contents of this website.