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
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
Meerkat - jQuery Plugin for Promotional Content
Viewed 891 times since Tue, Dec 29, 2009
Modify HTTP Headers in PHP with Examples
Viewed 994 times since Wed, Mar 10, 2010
ProFolio - Instantly Create Free Portfolio Website
Viewed 1314 times since Sun, Jan 3, 2010
Create Dynamic Tabs with jQuery
Viewed 908 times since Sat, Feb 6, 2010
ValidForm Builder - Creating Forms With Validation
Viewed 890 times since Wed, Apr 21, 2010
How do I add and register extra domain names?
Viewed 3155 times since Fri, Oct 9, 2009
PHP Sound Captcha
Viewed 7917 times since Sun, Apr 11, 2010
Ajaxed MySQL Table Editor
Viewed 1176 times since Tue, Oct 13, 2009
Free Visualization Components For Flex (AS3)
Viewed 798 times since Sun, Jan 3, 2010