This is topic Bandwidth stealing in forum Officers' Lounge at Flare Sci-Fi Forums.


To visit this topic, use this URL:
https://flare.solareclipse.net/ultimatebb.php/topic/10/2908.html

Posted by Spike (Member # 322) on :
 
How can I check if someone is using pictures, that lay on my webspace, on his/her website?
 
Posted by AndrewR (Member # 44) on :
 
Isn't there a program that allows you to see every page the links to your page? I don't know if that would include pictures.
 
Posted by Ritten (Member # 417) on :
 
Doesn't your host have logs???

If an IP# is pulling just the images from your site without and accompanying page then you know it....
 
Posted by Spike (Member # 322) on :
 
Thank you. It seems that pictures are used as avatars in at least 3 internet forums.

Is there a way to stop that other than renaming the files?
 
Posted by CaptainMike (Member # 709) on :
 
my host provides that kind of log for my HTML files only, no stats for my images.

although before i paid for my site, offsite linking was prevented by the host themselves (so that no one could access the webspace without the accompanying advertising), so it is possible to block, you just need to find the right script and see if your host supports it.
 
Posted by PsyLiam (Member # 73) on :
 
You could also contact the people using the pictures and say "sorry, could you stop that please"?

In most cases, people don't even realise that they are stealing bandwidth. If that's your only problem, offer to show the people how to upload the avatars to the forums they are using (if that option is offered). If you're peeved that they didn't ask you, explain to them that they're sort of stealing, and being a bit naughty. And spank them.
 
Posted by Snay (Member # 411) on :
 
Change it so that when they link to an image on your site, and steal your bandwith, what shows up on their site is a giant penis with the words "STOP STEALING YOU DICK THIEF" superimposed on it. That'll shut 'em down REAL quick!
 
Posted by akb1979 (Member # 557) on :
 
Oh Snay! You evil person!

Keep it up! HEHE!
[Big Grin] [Big Grin] [Big Grin] [Big Grin] [Big Grin] [Big Grin] [Big Grin] [Big Grin]
 
Posted by Siegfried (Member # 29) on :
 
I so desperately want to make a joke about Snay having an album of LEGO penis pictures for you to choose from, too.
 
Posted by Charles Capps (Member # 9) on :
 
Check to see if your host has mod_rewrite - if so, I can provide a few rewrite rules that will do the job just fine. [Smile]

(A few directories here on solareclipse are protected by mod_rewrite... all requests get redirected to this lovely image, which you should feel free to steal and reuse on your own site.)
 
Posted by Snay (Member # 411) on :
 
But, Siggy, you're my biggest Lego dildo customer!
 
Posted by E. Cartman (Member # 256) on :
 
For Siegfried's inspiration.

Oh, just in case that wasn't satisfactory...
 
Posted by Spike (Member # 322) on :
 
quote:
Check to see if your host has mod_rewrite.
[Confused] What's mod_rewrite and more important: How do I check that?
 
Posted by MinutiaeMan (Member # 444) on :
 
Since the topic's been brought up, I finally decided to get around to checking out this issue for my own site. It turns out that my website control panel has a built-in "Hotlink Protection" feature. However, I'm not sure just how this is supposed to work...

For that, I'm going to test this myself:

 -

http://www.st-minutiae.com/graphics/history-4-t.jpg

(After trying, it seems that defining the image I wanted the server to "redirect" to his screwing up... and infinitely referring people back to the same image. I entered the "URL to redirect to" -- and that's not working...)
 
Posted by PsyLiam (Member # 73) on :
 
You could still actually just tell the people. Not everyone on the internet is as clever as Charles, as wise as Tim, or as greasy as Jeff, so point out what they're doing wrong. This will stop them from doing it in the future. They'll tell their friends, who'll tell their friends.

A brighter future will be unvieled...for all of us!
 
Posted by E. Cartman (Member # 256) on :
 
quote:
Originally posted by Spike:
[Confused] What's mod_rewrite and more important: How do I check that?

It's a module for Apache (the webserver, not the chopper) that uses a rule-based rewriting engine to manipulate URLs on the fly.
 
Posted by Siegfried (Member # 29) on :
 
Lego porn. Now I've seen everything.
 
Posted by E. Cartman (Member # 256) on :
 
Wanna bet?
 
Posted by AndrewR (Member # 44) on :
 
http://stuff.death-from-above.com/lp/series3.html

The 3rd lego one is just SICK - but bloody hilarious! [Smile]

Andrew
 
Posted by Siegfried (Member # 29) on :
 
After reading
quote:
dungeon sex is exhausting but also very fulfilling!!
I suddenly get the feeling that I've seen all of this before. Did we have a thread dedicated to this a while back?
 
Posted by TSN (Member # 31) on :
 
I'm pretty sure.

Also, why are all those captions worded like they belong in a Pokey cartoon?
 
Posted by CaptainMike (Member # 709) on :
 
weve seen this before.

AND IT IS GREAT
 
Posted by MinutiaeMan (Member # 444) on :
 
To avoid any furtherance of this extremely disturbing tangent, I will reiterate my previous question:

I set an image on my site (link) to act as the replacement for any stolen images. However, although the redirect appears to work properly (as in, the image *is* apparently substituted by my server), the server also seems to want to redirect visitors further -- AWAY from my image. And so people loading that page in a separate window will get an infinite reload loop.

What's up with that?

[ January 04, 2003, 21:10: Message edited by: MinutiaeMan ]
 
Posted by Siegfried (Member # 29) on :
 
Umm... when I click on your link, all I get is a "Cannot Find Server" error. No image and no infinite reload loop.
 
Posted by MinutiaeMan (Member # 444) on :
 
Well, nuts! I had a typo in my domain name when I typed it up. It's fixed now. [Smile]

http://www.st-minutiae.com/graphics/access_denied.gif
 
Posted by Ritten (Member # 417) on :
 
I actually got a laugh out of the legos, I loved the arm...

Do you misspell your name often???
 
Posted by Spike (Member # 322) on :
 
Can you send me those scripts, Charles?
 
Posted by Siegfried (Member # 29) on :
 
How big are the pictures that are involved in this bandwidth kidnapping caper? I only ask before it might defeat the purpose of having an "access denied" graphic if the pictures are under 20 kilobytes (which is how big that graphic is).
 
Posted by Da_bang80 (Member # 528) on :
 
He's got a point. Maybe you should make the graphic a bit smaller. Just a suggestion but maybe slow down the rate at which the colours cycle between red and white.
 
Posted by MinutiaeMan (Member # 444) on :
 
Heh... at this point, I shut down that block script because I couldn't figure out how to configure the damn thing -- my host provides next to no instructions on the page.
 
Posted by MinutiaeMan (Member # 444) on :
 
(I figured revisiting this topic was better than starting a new one...)

Okay, after finding some interesting articles on the subject of mod_rewrite and discovering that my host does indeed provide the mod_rewrite module (in addition to the "Hotlink Protector" feature, for some silly reason), I'm going to give this another try.

Charles, would you be kind enough to show me those scripts you mentioned earlier? I've found info on the basics, but there are a few things I'm not clear about...

For instance, I want to allow hotlinking to my website's banner, which is advertisement and thus would be bad if it's blocked. So basically, I want to leave that one image completely open, and restrict all other pics to a few select URLs.

Thanks! [Smile]

Oh, and I did get around to fixing that rather garish flashing image, as well as shrinking it. Basically, I made it into a softer color transition instead of a straight back-and-forth flash.

 -
 
Posted by deadcujo (Member # 13) on :
 
Apache RewriteCond works wonders lowering the bandwidth usage on my domains from dumbasses who link to my files.
 
Posted by Spike (Member # 322) on :
 
quote:
For instance, I want to allow hotlinking to my website's banner, which is advertisement and thus would be bad if it's blocked.
You use .htaccess, right? Then put all your images in one folder and protect it with .htaccess. Leave your banner in a non-protected folder. Done.

Or you could replace your Red Alert picture with the banner. So, everyone who hotlinks to your banner gets the banner, and people who hotlink to other pictures get the banner as well.
 
Posted by MinutiaeMan (Member # 444) on :
 
The problem with that is that I already keep all of my site-wide images in one place. And I can't really move my single banner graphic, because that's the one that is linked externally -- moving that would invalidate the link and make the banner useless.
 
Posted by MinutiaeMan (Member # 444) on :
 
Please excuse this test... [Smile]

 -

 -

 -

I believe things should be working... three different images should show up, because Flare is one of the places where I've permitted hotlinks to my site.
 
Posted by The359 (Member # 37) on :
 
Ewww, made on a Mac. [Razz]

EDIT: Erm, you do realize that your first banner has REFERENCE misspelled, right?
 
Posted by MinutiaeMan (Member # 444) on :
 
Ack! [Eek!]

A typo that's been in a file I haven't edited in a whole year!!! Ouch, how embarrassing... Thanks for the tip!

Also, I've been making some changes to the .htaccess file, so the images may disappear -- they shouldn't, though, so if they're gone it means I've screwed something up.
 
Posted by MinutiaeMan (Member # 444) on :
 
Okay, it seems as if I'm missing something here... would someone more familiar with the mod_rewrite commands give this a quick look?

I've used the instructions provided on this page, along with the basic example shown here. However, after thoroughly reading the Apache page instructions, I thought I was smart enough to put some other pieces together and allow access to specific files as I indicated earlier.

However, there are two problems: (1) My server is denying access to hotlinked images where it's supposed to (I've checked a few pages that I know have stole images), but it's not replacing those images with the specified "Access Denied" file. (2) The server is not allowing access to the specific files (specifically, my banner) as I thought I'd told it to.

The script IS working, though, by allowing the allowed domains to have access (like Flare). So that's good news, at least.

Here's what I've got right now:
code:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://st-minutiae.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.st-minutiae.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://startrekrenaissance.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.startrekrenaissance.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://scn.infopop.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://flare.solareclipse.net/.*$ [NC]
RewriteCond %{REQUEST_URI} !^http://www.st-minutiae.com/graphics/access_denied.gif$ [NC]
RewriteCond %{REQUEST_URI} !^http://www.st-minutiae.com/graphics/banner2.gif$ [NC]
RewriteCond %{REQUEST_URI} !^http://www.st-minutiae.com/temp/.*$ [NC]
RewriteRule .*\.(gif|jpg)$ http://www.st-minutiae.com/graphics/access_denied.gif [R,L]

As you can see, I tossed in the %{REQUEST_URI} variable which was described in the Apache documentation -- I *thought* it would do what I was asking it to, but it's apparently not.

Any suggestions, please?
 
Posted by deadcujo (Member # 13) on :
 
It's case-sensitive, so you could always use an uppercase extension on your access_denied.gif file and it wouldn't be included in the RewriteRule.
 
Posted by MinutiaeMan (Member # 444) on :
 
The problem with that is that I can't change any of the URL's I'm working with -- at least, not the URL of the image banner. That's the one that's used by other sites, and would end up ruining the links of all those not-so-attentive webmasters out there who advertise my site. And working the other way around (changing all the other graphics) would be way too time-consuming to be practical.

I'm pretty sure that what I've got here is correct for the most part -- there's probably just something I'm not doing right, like a typo somewhere. *sigh*
 
Posted by MinutiaeMan (Member # 444) on :
 
Victory! [Big Grin]

Okay, after careful reading, I figured out what was wrong -- and just as I expected, the mistake was a stupid one. The only thing I was doing wrong, was that I had entered the full "http://[domain name]" in the %{REQUEST_URI} variable, when all they wanted was everything *after* the .com...

And to show the results, I give you a link one website which blatantly stole not only my images, but even my HTML code. (If you look at the source code for the linked page, you'll notice some weird "X-CLARIS" labels inside the <img> tags that were placed there by the website creation program that I used up to about a year ago. I would have complained to the webmaster a while ago, but this charming individual has no e-mail links on any of his pages.

I provide below my final code. I hope someone else can make use of it!
code:
RewriteEngine on
# The following lones will allow specific websites to pass
# through -- especially your own. Be sure to differentiate if
# you've got a non-WWW access. Also, the [NC] tag is
# essential to make it a "no case" -- that is, a case to be ignored.
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://st-minutiae.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.st-minutiae.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://startrekrenaissance.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.startrekrenaissance.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://scn.infopop.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://flare.solareclipse.net/.*$ [NC]
# The next lines allow you to exempt specific URI's that you
# WANT to share with others -- for example, a banner graphic.
RewriteCond %{REQUEST_URI} !^/graphics/access_denied.gif$ [NC]
RewriteCond %{REQUEST_URI} !^/graphics/banner2.gif$ [NC]
RewriteCond %{REQUEST_URI} !^/temp/.*$ [NC]
# And finally, the actual rule to apply when the above
# conditions are *not* met. Specifically, substitute the image
# with one complaining about stolen bandwidth.
RewriteRule .*\.(gif|jpg)$ http://www.st-minutiae.com/graphics/access_denied.gif [R,L]

This whole thing (with the appropriate modifications for your own site) should be pasted into a text file that you name ".htaccess" with the leading period.

I'm hardly an expert at this yet, but if anyone's got questions about this, I think I can provide enough guidance for the basic Trek website... [Smile]
 
Posted by Topher (Member # 71) on :
 
Hey Dan, I went to your mainpage and I got this.

Alhough, oddly enough, your Renaissance mirror doesn't have any problems...
 
Posted by Mucus (Member # 24) on :
 
Augh!
I went to MM's site out of curiosity to confirm Topher's claim, and I just wasted probably an hour or so of combinatorics study time reading those "You're the Admiral" sample answers. Damn you people for creating amusing reading! [Wink]
 
Posted by MinutiaeMan (Member # 444) on :
 
On a somewhat related note, there's an interesting article in someone's weblog entitled Hot to Block Spambots, Ban Spybots, and Tell Unwanted Robots to Go to Hell. The title is actually more interesting than the actual article, unless you're a webmaster of a really popular website. (I checked my referrer logs for some of the most prominent spambots listed, and I didn't find any of them.)
 


© 1999-2024 Charles Capps

Powered by UBB.classic™ 6.7.3