Home :: Blog :: Articles :: Web-Hosting :: How to Block access to your .htaccess file

How to Block access to your .htaccess file

How to Block access to your .htaccess file
Category: Web-Hosting
Posted:
Views: 1315
Comments: 0 [Post]
Synopsis: By adding he following code to your htaccess file will prevent hackers attempts to access your htaccess file by displaying a 403 error message on their browser.

By adding he following code to your htaccess file will prevent hackers attempts to access your htaccess file by displaying a 403 error message on their browser.

# secure htaccess file

 order allow,deny
 deny from all


Comments on How to Block access to your .htaccess file

Start the conversation by being the first to comment!

Share comments

Your Name: *
Comments: *
Please Note: HTML Markup will be automatically removed.
The ability to post urls has been disabled by the site administrator.
*
Type the characters you see in the picture:

*