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
Free JavaScript Charts Library - JS Charts
Viewed 832 times since Sun, Dec 13, 2009
JavaScript Tree Menu Component - jsTree Menu
Viewed 1359 times since Sat, Jan 9, 2010
jCart - Free PHP AJAX Shopping Cart
Viewed 1100 times since Sun, Jan 3, 2010
Free JavaScript Date Picker - jsDatePick
Viewed 1114 times since Fri, Apr 9, 2010
How to change default web page using htaccess?
Viewed 1063 times since Sun, Mar 14, 2010
Free Visualization Components For Flex (AS3)
Viewed 689 times since Sun, Jan 3, 2010
TipTip - jQuery Tooltip Plugin
Viewed 887 times since Thu, Jan 28, 2010
imgAreaSelect - jQuery Plugin To Select Areas On Images
Viewed 1169 times since Thu, Dec 31, 2009