May 27, 2007

Permitted URLs

I just had someone report a PIBKAC, and it occurred to me that it might happen to others and they might get equally confused.

In order to prevent people from directly linking to the images on my server, I have set up access filtration based on referer URL. There is a specific whitelist of permitted referers, and if any other appears then my server sends a special graphics file that indicates that something is wrong. Here is the whitelist:

www.denbeste.nu
denbeste.nu
regulus.denbeste.nu
70.90.130.45
192.168.1.1
chizumatic.mee.nu

Other URLs will correctly access my sites, but will run afoul of this filtration and won't permit you to see image files.

The particular person who complained about this turned out to be using "www.chizumatic.mee.nu" and that's not on the list. So he didn't see the top rotation picture. Instead he saw my "bandwidth theft" PNG file

That is not a bug. That is how it is supposed to work. The instigation for doing this was one time when someone linked to one of my images from Fark and brought my server to its knees. But since then I've had an ongoing problem with the denizens of MySpace linking to my images. I eventually got fed up and created a very obnoxious 1024*2048 blinking GIF file, and started sending that instead. The goal was to cause the friends/readers of the MySpace denizen to complain so that the denizen would remove the link to me -- and it's worked. I get hardly any hits from there anymore. (Also, getting my image files removed from Google helped a lot.)

Anyway, if you see an ugly "bandwidth theft" image where the top rotation image should appear, the solution is for you to correct your bookmark.

Posted by: Steven Den Beste in Site Stuff at 11:58 PM | Comments (5) | Add Comment
Post contains 289 words, total size 2 kb.

1 I've long done the same as I have several images that people like to steal.  What is interesting is that the poster has the original image in their cache and will not know what is going on.  Just that everyone else is looking at this image: http://www.pirate-king.com/images/chicken.gif
So it is always pretty interesting to look in my latest hits list for image stealers to see what they're trying to take.

Posted by: Chad at May 28, 2007 07:53 AM (E2GpM)

2 That's a nice thing about Blogger. It's acutally simpler to right-click the pic, save to Desktop, upload to Blogger and include in a post than it is to hotlink it. I'll demonstrate; http://qwikhitz.blogspot.com/2007/05/qwik-demo.html

Posted by: YIH at May 28, 2007 08:57 AM (h2pTq)

3 Granted, if you have never linked to www.chizumatic.mee.nu, you are blameless. But it wouldn't hurt to take pity on the guy and others like him. He has made a common, easy error, and now is presented with an unexpected result - and worst of all, there's nothing to clue him in as to why. Redirecting all www.chizumatic.mee.nu requests to their equivalent at chizumatic.mee.nu would be a nice touch.

Posted by: Josh at May 28, 2007 01:10 PM (Jn6zD)

4

Josh, yeah, that's a great idea...

...until you see amazing quantity and variety of "innocent mistakes" on URLs that appear in my referer log. Keeping up with all of them would be a career. Better in my opinion for them to have an unpleasant experience when they make an innocent mistake so that they'll correct it.

And in this case it's my opinion that matters. So there won't be any changes.

Posted by: Steven Den Beste at May 28, 2007 01:45 PM (+rSRq)

5 Question:  how exactly could someone use a referrer of www.chizumatic.mee.nu to do something they shouldn't, if you did list it as an 'honest mistake' with automatic forwarding?

( not doubting you, just honestly curious )

Posted by: metaphysician at May 31, 2007 08:38 AM (ZXyXx)

Hide Comments | Add Comment

Enclose all spoilers in spoiler tags:
      [spoiler]your spoiler here[/spoiler]
Spoilers which are not properly tagged will be ruthlessly deleted on sight.
Also, I hate unsolicited suggestions and advice. (Even when you think you're being funny.)

At Chizumatic, we take pride in being incomplete, incorrect, inconsistent, and unfair. We do all of them deliberately.

How to put links in your comment

Comments are disabled. Post is locked.
8kb generated in CPU 0.0102, elapsed 0.0209 seconds.
20 queries taking 0.0136 seconds, 22 records returned.
Powered by Minx 1.1.6c-pink.