Forum Moderators: phranque

Message Too Old, No Replies

Disable Remote Linking of Images

How can I prevent someone from posting images from my sites?

         

DXL

4:23 pm on Mar 18, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



A reoccuring problem that I have encountered deals with people posting images off of my sites on bulletin boards and other websites online. For example, I run a musicians fan site, and people repeated post pics from the site on message boards and their own personal community pages. Given that the message boards ring up an immense number of hits, and that their personal pages may contain as many as 10 images from the site, it totally eats up bandwidth. I host my sites with godaddy, they hit me up for extra cash when the bandwidth is exceeded and ask that I purchase more on a monthly basis. I've tried finding out what images are being used to rename them but I cant always pinpoint which ones they are.

Is there any way that I can set up a site so that its impossible for someone to remote link an image off of it?

Eric_Jarvis

4:24 pm on Mar 18, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



only by dynamically generating the pages with a cgi

gethan

4:55 pm on Mar 18, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



> only by dynamically generating the pages with a cgi

One of quite a few ways... see

[webmasterworld.com...]

My own preference is mod_rewrite

Using mod_rewrite and .htaccess (Apache needed)

rewriteCond %{HTTP_REFERER} !^$
rewriteCond %{HTTP_REFERER} !^http://yourserver/.*$ [NC]
rewriteRule .*\.gif$ - [F]

extend for jpg's etc.

To put in a new image have an image in another directory and use something like:

rewriteRule .*\.gif$ /denied/noinline.gif

from :- [engelschall.com...]