How to restrict access to your .htaccess file?
Article ID: 388 | Rating: Unrated | Last Updated: Sun, Mar 14, 2010 at 3:49 PM
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
deny from all
There are no attachments for this article.
There are no comments for this article. Be the first to post a comment.
Featured Items Widget with jQuery
Viewed 1397 times since Sun, Dec 27, 2009
PHP Sound Captcha
Viewed 9611 times since Sun, Apr 11, 2010
What is jQuery?
Viewed 925 times since Tue, Dec 1, 2009
50 Free And Quality Web Icons
Viewed 1592 times since Tue, Jan 5, 2010
New Tags Introduced in HTML5
Viewed 1401 times since Sat, Apr 3, 2010