Prevent browser access with htaccess 31st Mar, 2011 | apache Add this to a .htaccess file in the directory you wish to protect: Deny from all