View Full Version : Preventing hotlinks


Alex
November 24th, 2012, 12:03 AM
Howdy -

Made a small change to the site today, to disallow sites other than here to hotlink our images. It should have zero effect on this site itself, but please let me know if you see anything that doesn't seem like it's working correctly. What this prevents is for people on other sites to use our own bandwidth to post pictures, re-use smilies local to here, etc. Some sites replace the image with something vile, but mine was at least tongue in cheek:

http://www.smugmug.com/photos/i-VfjLXJF/0/L/i-VfjLXJF-L.jpg

Another minor switch that I hadn't realized wasn't working until tonight. "ninjette.org" always has always been pushed to "www.ninjette.org". But if the incoming url was something like "ninjette.org/forums", it wouldn't add the www in front as I had expected. That has been corrected, so you should always see the www in front of the address. Like above, let me know if this causes any unexpected issues.

Motofool
November 24th, 2012, 08:35 AM
I always wonder how do you find time for keeping this monster running smoothly and for riding.

:thumbup: :thumbup: :thumbup:

Alex
November 24th, 2012, 09:01 AM
Meth.

CZroe
November 25th, 2012, 07:56 AM
A whole lot of plagiarized DIYs just lost their images. :)

Jiggles
November 25th, 2012, 10:00 AM
I say you change it to a gay porn pic. The lulz will be greatly enhanced

himynameisjoe
November 25th, 2012, 05:07 PM
I say you change it to a gay porn pic. The lulz will be greatly enhanced

http://www.thecitrusreport.com/wp-content/uploads/2011/09/werd2-540x375.jpg

CZroe
November 26th, 2012, 06:20 AM
Need to make a 9-color version if you truly want to save bandwidth. ;)

Alex
November 26th, 2012, 09:18 AM
It's not my bandwidth. That pic is pulled directly off of smugmug, which allows unlimited bandwidth. :thumbup:

FrugalNinja250
December 2nd, 2012, 03:42 PM
I think I've got some technical posts here that hotlink images that I uploaded over at ninja250.org, as well as posts there that referenced pics over here. What will it take to find and delete those posts here?

Alex
December 2nd, 2012, 08:40 PM
There's no need to edit the posts here; hotlinking images from sites that allow it continues to work just fine. It's the limiting of other sites hotlinking images from here that was restricted. If you do have posts on other forums that directly link pictures that are hosted only here, those are the ones that would having missing pics now over there.

FrugalNinja250
December 3rd, 2012, 07:43 AM
There's no need to edit the posts here; hotlinking images from sites that allow it continues to work just fine. It's the limiting of other sites hotlinking images from here that was restricted. If you do have posts on other forums that directly link pictures that are hosted only here, those are the ones that would having missing pics now over there.

Right. But if I have any posts here that hotlink pics from the other site I want to delete them here. They have limited pic hosting capability but don't restrict hotlinking They don't allow deleting posts or pictures after 12 hours or so, so I can't do it from that end.

Alex
December 3rd, 2012, 08:02 AM
Search for your posts here that include "img" in them, perhaps "img" and the other site's name?