Forum Moderators: phranque
----------------------------------------
SetEnvIfNoCase Referer "^http://www\.mydomain\.com/" local_ref=1
<FilesMatch "\.(pdf¦exe)">
Order Allow,Deny
Allow from env=local_ref
</FilesMatch>
----------------------------------------
A long time this work fine.
But last 3 days, I check my log files,
I find someone use a "Counterfeit" HTTP_REFERER to download these files.
I sure these requests are not from my website, but these requests had a "Counterfeit" HTTP_REFERER like "http://www.mydomain.com/".
then Anti Leech using HTTP_REFERER is invalidate.
Who can give me some advice? I want to look for another method to protecte my files on Apache.
Thanks.