Welcome to WebmasterWorld Guest from 18.210.27.34

Forum Moderators: Ocean10000 & phranque

Message Too Old, No Replies

Blocking remote linking of images

but not SE 'cache' view and email clients

     

dcrombie

1:21 pm on Dec 20, 2003 (gmt 0)

Inactive Member
Account Expired

 
 


I'm using .htaccess to stop people remote-sourcing .jpgs from one of our sites. Now I'm seeing in the server logs that the 'View Cached Version' option in Yahoo and Google shows broken images, as do various email/webmail clients (I assume people have been sent a page from the site).

Is there any graceful way to tell the difference (I'm thinking not) or would it require a specific white/black-list of referrers?

RewriteCond %{HTTP_REFERER}!^$
RewriteCond %{HTTP_REFERER}!^http://(www.)?somedomain.com [NC]
RewriteRule .*\.jpg$ - [F]

4:53 pm on Dec 20, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 31, 2002
posts:25430
votes: 0


> would it require a specific white/black-list of referrers?

Yes. Several previous discussions contain various member's lists of common ones: site search [google.com]

Jim