deny access to file by htaccess code example Example: htaccess deny access to a file <Files "adminbar.php"> Order Allow,Deny Deny from all </Files>