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.
ICEpdf - Open Source Java PDF Library
Viewed 1529 times since Wed, Jan 6, 2010
Viewed 1328 times since Thu, Jul 8, 2010
How can I change session timeout value?
Viewed 1144 times since Tue, Apr 27, 2010