Advanced .htaccess security and block access using .htaccess file
Block access to files using htaccess 1. Block access to .htaccess file Add the following code block to your htaccess file to add an extra layer of security.Any attempts to access the htaccess file will result in a 403 error message.Your first layer of security to protect htaccess files involves permissions via CHMOD to 644.…