Article Diary - General Knowledge Digest

How to restrict access to your .htaccess file?

By adding the following code to your htaccess file will prevent hacker’s attempt to access your htaccess file. It will display a 403 error message on their browser if they try to access .htaccess file.
# secure htaccess file

order allow,deny
deny from all
0 (0)
Article Rating (No Votes)
Rate this article
Attached Files
There are no attachments for this article.
There are no comments for this article. Be the first to post a comment.
Security Code Security Code
Related Articles RSS Feed
Review of Mobile Web Application Frameworks
Viewed 1513 times since Mon, May 9, 2011
Web Usability Testing Tool - Clixpy
Viewed 1561 times since Sat, Jan 9, 2010
Facebook Style Chat Script - ArrowChat
Viewed 1242 times since Tue, Aug 3, 2010
Free 3D Flash Image Slider - Piecemaker
Viewed 1917 times since Sun, Apr 4, 2010
Which hosting plans support IIS Mod-Rewrite?
Viewed 4199 times since Sat, Oct 10, 2009
Create Full Screen Slideshows With Supersized
Viewed 1205 times since Tue, Jan 5, 2010
Create Interactive JavaScript Charts With Highcharts
Viewed 1349 times since Fri, Dec 4, 2009
25 Graph & Chart Solutions For Web Developers
Viewed 33774 times since Mon, Feb 1, 2010
IE6 CSS Fixer - Web-Based IE6 CSS Fix Tool
Viewed 1139 times since Thu, Dec 31, 2009