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.
Comments
There are no comments for this article. Be the first to post a comment.
Name
Email
Security Code Security Code
Related Articles RSS Feed
Tiny Flash MP3 Audio Player
Viewed 982 times since Wed, Jan 6, 2010
Free IP to Country, IP to City Database & API
Viewed 1324 times since Thu, Dec 31, 2009
Free Visualization Components For Flex (AS3)
Viewed 867 times since Sun, Jan 3, 2010
10 Most Popular JavaScript Frameworks
Viewed 1004 times since Thu, Jul 8, 2010
ZeusCart | Feature Rich Open Source E-Commerce System
Viewed 1440 times since Thu, Jul 15, 2010
Free Under Construction Coming Soon Template
Viewed 1880 times since Sat, Mar 12, 2011
Pastie - Pastebin to Share Source Code with Syntax Highlighting
Viewed 1024 times since Mon, Jan 11, 2010
TinyBox - JavaScript Lightweight Modal Window Popup Script
Viewed 1357 times since Fri, Jan 8, 2010
SlideDeck - Cool jQuery Slideshow Plugin
Viewed 1121 times since Thu, Feb 4, 2010
MENU