How to prevent access to a specific file on server using htaccess?
Article ID: 387 | Rating: Unrated | Last Updated: Sun, Mar 14, 2010 at 3:44 PM
If you want to block with the file name abc.jpg, the followig htaccess code will prevent the viewing of this file.
Put this code in your .htaccess file.
# prevent access of a certain 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.
What is rel="nofollow" attribute?
Viewed 1041 times since Thu, May 13, 2010
8 Basics of Regular Expressions
Viewed 1229 times since Mon, Mar 8, 2010
Google Web Toolkit - Version 2 Released
Viewed 1283 times since Tue, Dec 15, 2009
Coming Soon Template
Viewed 1324 times since Thu, Nov 12, 2009
PHP Sound Captcha
Viewed 11131 times since Sun, Apr 11, 2010