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.
Comments
There are no comments for this article. Be the first to post a comment.
Name
Email
Security Code Security Code
Related Articles RSS Feed
10 Tips for Writing Better CSS Code
Viewed 1276 times since Fri, Nov 27, 2009
Which hosting plans support IIS Mod-Rewrite?
Viewed 4038 times since Sat, Oct 10, 2009
Flash Webcam Image Capture
Viewed 1701 times since Thu, Nov 12, 2009
Create Full Screen Slideshows With Supersized
Viewed 1198 times since Tue, Jan 5, 2010
25 Graph & Chart Solutions For Web Developers
Viewed 33755 times since Mon, Feb 1, 2010
jDigiClock - HTC Hero Style jQuery Digital Clock
Viewed 1210 times since Tue, Feb 16, 2010
JavaScript Tree Menu Component - jsTree Menu
Viewed 1853 times since Sat, Jan 9, 2010
Google Maps jQuery Plugin - gMap
Viewed 1456 times since Mon, Feb 8, 2010
Ajaxed MySQL Table Editor
Viewed 1406 times since Tue, Oct 13, 2009