RE: bandwith protect
by Quackamoe <quackamoe(at)yahoo.com>
|
Date: |
Thu, 29 Mar 2001 16:41:03 -0800 (PST) |
To: |
Fred Fillon <fillon(at)webstore.fr>, Rich Bowen <rbowen(at)rcbowen.com> |
Cc: |
SERVERS <hwg-servers(at)hwg.org> |
In-Reply-To: |
webstore |
|
todo: View
Thread,
Original
|
|
--- Fred Fillon <fillon(at)webstore.fr> wrote:
> Hi Rich !
>
> In Fact I have 4 main objectives :
> 1 - try to avoid "Grabber" like teleport pro
> softwares
A post by Glenn Davis to webdesign-l back in 1999
might give you what you need. His post in its
entirety follows. Hope it helps.
Terry Fowler
+-------------------------------------------------+
Date: Thu, 18 Mar 1999 12:11:24 -0800
To: webdesign-l(at)hesketh.com
From: Glenn Davis <gdavis(at)projectcool.com>
Subject: [WD]: Stopping image/bandwidth theft
An unnamed recent conversation reminded me of this bit
of code. This code,
when applied to an Apache 1.3+ server will stop people
from directly
linking to images on your website. It works by
checking the refering page
reference and then only allowing refering pages from
your domain to have
the image. Pages outside your domain simply get a
broken image icon.
SetEnvIf Referer www\.yourdomain\.com
intra_site_referral
<FilesMatch "\.(gif|jpe?g|png)$">
order deny,allow
deny from all
allow from env=intra_site_referral yourdomain.com
allow from all
</FilesMatch>
Stick this in your srm.conf in apache 1.3.0 to 1.3.3
and in your httpd.conf
in 1.3.4 (You ARE using the latest version, right?)
G
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/?.refer=text
HWG: hwg-servers mailing list archives,
maintained by Webmasters @ IWA