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
Lorem Ipsum Dolor Sit Amet
Viewed 1529 times since Tue, Oct 6, 2009
jQuery MultiSelect Plugin with ThemeRoller Support
Viewed 1839 times since Thu, Feb 4, 2010
AeroSQL - Web Based MySQL Management
Viewed 1242 times since Wed, Feb 24, 2010
ValidForm Builder - Creating Forms With Validation
Viewed 1057 times since Wed, Apr 21, 2010
JavaScript Tree Menu Component - jsTree Menu
Viewed 1815 times since Sat, Jan 9, 2010
UI Patterns - User Interface Design Pattern Library
Viewed 1277 times since Thu, Dec 31, 2009
mbSlider - Highly Customizable Content Slider
Viewed 1081 times since Mon, Jul 26, 2010
jCart - Free PHP AJAX Shopping Cart
Viewed 1424 times since Sun, Jan 3, 2010
Open Source Trouble Ticket System - Jutda Helpdesk
Viewed 1984 times since Sat, Jan 9, 2010
8 Basics of Regular Expressions
Viewed 1082 times since Mon, Mar 8, 2010