Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-10-14 12:28:18

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,528
GitHub Twitter

Protect \images from web copiers

Hi Folks,
how can I protect my <strong>\images</strong> files from web copiers like HTTrack?
I tested .httaccess :
<code>
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://w?w?w?.?mysite.com/.*$ [NC]
ReWriteRule .*\.(gif|png|jpe?g)$ – [F]
</code>
…but without result (all the files were aspired!)

Thanks for welcome any ideas.


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#2 2006-10-14 12:42:39

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Protect \images from web copiers

If such tools fake the HTTP_REFERER, it’s near impossible to protect your images.

Offline

#3 2006-10-14 18:01:41

anoke
Archived Plugin Author
Registered: 2006-04-15
Posts: 152

Re: Protect \images from web copiers

Doesn’t that RewriteCond protect just against hotlinking?

<code>
RewriteCond %{HTTP_USER_AGENT} ^HTTrack
</code>

Worth a try.. But if HTTrack forges agent that doesn’t help either..


- When chickens are cold, they roost in trees; when ducks are cold, they plunge into water -

Offline

#4 2006-10-14 18:12:36

NyteOwl
Member
From: Nova Scotia, Canada
Registered: 2005-09-24
Posts: 539

Re: Protect \images from web copiers

You can protect against hotlinking but if you mean outright theft then no. If it can be displayed in a browser it can be taken. Just the way the web works.


Obsolescence is just a lack of imagination. / 36-bits Forever! / #include <disclaimer.h>;

Offline

Board footer

Powered by FluxBB