[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] OT? How to stop image and file leeching?
- Subject: RE: [cobalt-users] OT? How to stop image and file leeching?
- From: "Wayne Sagar" <shortfork@xxxxxxxxxxx>
- Date: Wed Oct 31 13:41:11 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Here are some examples:
Michael,
Looked at all (most) of the script ways round it and finally found something
on apache.org (I'm tired, I think that's where it was)
an .htaccess file in the domain with this in it did the trick.
SetEnvIfNoCase Referer "domain.com" local_ref=1
<FilesMatch ".(exe|gif|jpg)">
Order Allow,Deny
Allow from env=local_ref
</FilesMatch>
note: above took massaging from the example I had. They had full path
http:// url with a ^ in front of it. That did not work and locked all access
to the above files. As shown, it worked.
Now if you try to access any of those three file extensions from a domain
outside the actual domain you get a forbidden page returned.
It completely stops the direct use of images off your server by another
server. It also (unfortunately) in this case, stops some of what the client
would *like* to see. Screenshots of his product posted here and there on
message boards.
Well see how this floats, it works and stopped that part of the warez theft
from him (me also as I have the server)
WS
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp