Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

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

Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,615
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 :
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://w?w?w?.?mysite.com/.*$ [NC]
ReWriteRule .*\.(gif|png|jpe?g)$ – [F]
…but without result (all the files were aspired!)

Thanks for welcome any ideas.


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


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

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

Re: Protect \images from web copiers

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


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

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

Re: Protect \images from web copiers

Doesn’t that RewriteCond protect just against hotlinking?

RewriteCond %{HTTP_USER_AGENT} ^HTTrack

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 -


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

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>;


Board footer

Powered by FluxBB