l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2004 Apr 04 00:00

The following is an archive of a post made to our 'vox mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox] Content Sharing becomes Bandwidth Theft
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox] Content Sharing becomes Bandwidth Theft

mod_rewrite seems a better way to go, but i whipped up the following just
to see it work since i've been playing with gd/php lately.  i don't
submit this as a solution, but more of an entertaining (for me) musing.
the following assumes php compiled with gd and jpeg support, and that you
expect to see a picture of a tree.

a legit reference to the image looks like this:

<img src="image.php" alt="picture of a tree" width="300" height="225" />

image.php contains the following:


if(stristr($_SERVER["HTTP_REFERER"], "silogram.net") == FALSE) {
	$src = "finga.jpg";
} else {
	$src = "tree.jpg";

$image = imagecreatefromjpeg($src);

header("Content-type: image/jpeg");



If you access http://www.silogram.net/php/imagetest.php, you get a nice
tree, but if you try to steal the image, you get da finga.

On Fri, 2 Apr 2004, ME wrote:

> Something that was done ages ago by people upset with this kind of
> behavior was to reject all referring URL which are not from your own
> domain.
> This causes people who use your bandwidth in this way to have icons which
> often do not work as expected. They must then decide if they want somehing
> that is broken for many people or something else.
> With apache you can do some clever things with mod_rewrite, and it may be
> of some use here. You could possibly take cases where a referring URL is
> not from your site, and replace it with an image that says something like,
> "I am an image thief as I like to steal bandwidth." Then, when people use
> your images, their "presence" is one of a thief. :-)
> -ME
> Jeff Newmiller said:
> > I just noticed that an image on my web page has been used by at least two
> > individuals as their avatar image on discussion lists.  Their use of the
> > image doesn't bother me... but the fact that they didn't put it on their
> > own webservers means that they are freeloading on my website.  Every time
> > someone reads their posts on those discussion lists, my site gets a
> > useless hit.
> >
> > I am thinking of moving the file (and changing all my internal links), and
> > replacing the file with a different image that communicates that this
> > is not acceptable behavior.  Any suggestions for appropriate images? One
> > of my calmer ideas was a yellow background with black letters that says
> > "Don't use someone elses image URL for your avatar", but there has to be a
> > better phrase or image...
> >
> > ---------------------------------------------------------------------------
> > Jeff Newmiller                        The     .....       .....  Go
> > Live...
> > DCN:<jdnewmil@dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live
> > Go...
> >                                       Live:   OO#.. Dead: OO#..  Playing
> > Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
> > /Software/Embedded Controllers)               .OO#.       .OO#.
> > rocks...2k
> > ---------------------------------------------------------------------------
> >
> > _______________________________________________
> > vox mailing list
> > vox@lists.lugod.org
> > http://lists.lugod.org/mailman/listinfo/vox
> >
> >
> _______________________________________________
> vox mailing list
> vox@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox

vox mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.