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.
There are no comments for this article. Be the first to post a comment.
Security Code Security Code
Related Articles RSS Feed
PHP Quiz Questions and Answers
Viewed 2039 times since Mon, Jan 11, 2010
Web Application Security Tools & Scanner Applications
Viewed 972 times since Mon, Mar 22, 2010
Open Source WYSIWYG Editor
Viewed 917 times since Thu, Jan 7, 2010
Create Interactive JavaScript Charts With Highcharts
Viewed 864 times since Fri, Dec 4, 2009
New Tags Introduced in HTML5
Viewed 916 times since Sat, Apr 3, 2010
AeroSQL - Web Based MySQL Management
Viewed 734 times since Wed, Feb 24, 2010
ValidForm Builder - Creating Forms With Validation
Viewed 621 times since Wed, Apr 21, 2010
Free JavaScript Charts Library - JS Charts
Viewed 660 times since Sun, Dec 13, 2009
Meerkat - jQuery Plugin for Promotional Content
Viewed 618 times since Tue, Dec 29, 2009