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
ValidForm Builder - Creating Forms With Validation
Viewed 687 times since Wed, Apr 21, 2010
Featured Items Widget with jQuery
Viewed 987 times since Sun, Dec 27, 2009
PHP For Android Project - Interview with Lead Developer
Viewed 749 times since Mon, Jul 26, 2010
Meerkat - jQuery Plugin for Promotional Content
Viewed 692 times since Tue, Dec 29, 2009
Plupload - Multiple Files Upload Script
Viewed 982 times since Tue, Feb 9, 2010
Lorem Ipsum Dolor Sit Amet
Viewed 992 times since Tue, Oct 6, 2009
SEO (Search Engine Optimization) vs SEM(Search Engine Marketing)
Viewed 580 times since Mon, Jul 12, 2010
OpenCart - Open Source Shopping Cart
Viewed 987 times since Fri, Jan 1, 2010
MENU