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
Google Skipfish - Web Application Security Scanner
Viewed 1212 times since Mon, Mar 22, 2010
Featured Items Widget with jQuery
Viewed 1397 times since Sun, Dec 27, 2009
PHP Sound Captcha
Viewed 9611 times since Sun, Apr 11, 2010
ZeusCart | Feature Rich Open Source E-Commerce System
Viewed 1620 times since Thu, Jul 15, 2010
Embeddable Google Document Viewer For Websites
Viewed 1058 times since Fri, Mar 11, 2011
What is jQuery?
Viewed 925 times since Tue, Dec 1, 2009
50 Free And Quality Web Icons
Viewed 1592 times since Tue, Jan 5, 2010
New Tags Introduced in HTML5
Viewed 1401 times since Sat, Apr 3, 2010