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.
AeroSQL - Web Based MySQL Management
Viewed 1122 times since Wed, Feb 24, 2010
Plupload - Multiple Files Upload Script
Viewed 1322 times since Tue, Feb 9, 2010
50 Free And Quality Web Icons
Viewed 1436 times since Tue, Jan 5, 2010
Web Form Elements in PSD Format
Viewed 1026 times since Sun, Dec 27, 2009