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
What is jQuery?
Viewed 830 times since Tue, Dec 1, 2009
Quick Tables for Showing & Updating DB Data
Viewed 1062 times since Sun, Dec 27, 2009
jQuery Dropdown Check List
Viewed 1301 times since Thu, Jan 14, 2010
Google Web Toolkit - Version 2 Released
Viewed 993 times since Tue, Dec 15, 2009
SlideDeck - Cool jQuery Slideshow Plugin
Viewed 1087 times since Thu, Feb 4, 2010
8 Basics of Regular Expressions
Viewed 977 times since Mon, Mar 8, 2010
SEO (Search Engine Optimization) vs SEM(Search Engine Marketing)
Viewed 792 times since Mon, Jul 12, 2010
PHP Quiz Questions and Answers
Viewed 3199 times since Mon, Jan 11, 2010
Free Android GUI PSD File
Viewed 1272 times since Fri, Dec 4, 2009
MENU