I use a .htaccess file on my site that looks like:
Code:
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://www.mijn-domein.nl/download.php.* [NC]
RewriteRule /* http://www.mijn-domiein.nl/errordocs/403.html [R,L]
This .htaccess file protects some mainly word files in some directory. In the download.php file are links to these word files. The protection works great but when you right click on the link and choose "save target as..." you are also redirected to the 403.html file.
Is it possible to let users direct;y save these files, by right clicking or in any other way downloading it (not opening the file)?
|