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 12.34.56.78

References


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.