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.
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
Ajaxed MySQL Table Editor
Viewed 1472 times since Tue, Oct 13, 2009
Google Skipfish - Web Application Security Scanner
Viewed 1312 times since Mon, Mar 22, 2010
Admin Skins - Constellation Complete Admin Skin
Viewed 1449 times since Thu, Aug 12, 2010
Speech Bubbles With Pure CSS3
Viewed 1145 times since Fri, Mar 12, 2010
Coming Soon Template
Viewed 1238 times since Thu, Nov 12, 2009
10 AJAX based PHP WebMail Clients
Viewed 1421 times since Mon, Jul 26, 2010
PHP Quiz Questions and Answers
Viewed 4214 times since Mon, Jan 11, 2010
ICEpdf - Open Source Java PDF Library
Viewed 1462 times since Wed, Jan 6, 2010
TipTip - jQuery Tooltip Plugin
Viewed 1225 times since Thu, Jan 28, 2010
Review of Mobile Web Application Frameworks
Viewed 1571 times since Mon, May 9, 2011