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
10 Tips for Writing Better CSS Code
Viewed 1397 times since Fri, Nov 27, 2009
Create A Page Peel Effect With CSS & jQuery
Viewed 1222 times since Tue, Jan 5, 2010
10 AJAX based PHP WebMail Clients
Viewed 1904 times since Mon, Jul 26, 2010
Web Usability Testing Tool - Clixpy
Viewed 1681 times since Sat, Jan 9, 2010
jDigiClock - HTC Hero Style jQuery Digital Clock
Viewed 1314 times since Tue, Feb 16, 2010
Create Dynamic Tabs with jQuery
Viewed 1180 times since Sat, Feb 6, 2010
Free Visualization Components For Flex (AS3)
Viewed 1100 times since Sun, Jan 3, 2010
Facebook Style Chat Script - ArrowChat
Viewed 1328 times since Tue, Aug 3, 2010
Tiny Flash MP3 Audio Player
Viewed 1182 times since Wed, Jan 6, 2010