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
Pastie - Pastebin to Share Source Code with Syntax Highlighting
Viewed 836 times since Mon, Jan 11, 2010
mbSlider - Highly Customizable Content Slider
Viewed 857 times since Mon, Jul 26, 2010
Web Usability Testing Tool - Clixpy
Viewed 1126 times since Sat, Jan 9, 2010
imgAreaSelect - jQuery Plugin To Select Areas On Images
Viewed 1168 times since Thu, Dec 31, 2009
ValidForm Builder - Creating Forms With Validation
Viewed 779 times since Wed, Apr 21, 2010
8 Basics of Regular Expressions
Viewed 851 times since Mon, Mar 8, 2010
Axiis - Open Source Data Visualization Framework
Viewed 1056 times since Thu, Jan 7, 2010
Free Under Construction Coming Soon Template
Viewed 1580 times since Sat, Mar 12, 2011