Forum Moderators: not2easy

Message Too Old, No Replies

Bandwidth Stealing

Script wont work!

         

djmasala

9:18 pm on Sep 6, 2003 (gmt 0)

10+ Year Member



Hi,
I recently found out from my web-stats that someone is using picture links from my site to post images on their forum. This eating into my bandwidth at about 200 - 300MB a day.

I have tried 2 scripts (downloader.cgi and Ace Bandwidth Protector) to protect my links so that ONLY people who are visiting my site can view the pictures, but I cannot get it to work!

Please explain clearly, as I have no knowledge of programing in cgi or perl... Do you know any free scripts?
Thanks...

[edited by: djmasala at 11:10 pm (utc) on Sep. 6, 2003]

robertito62

9:32 pm on Sep 6, 2003 (gmt 0)

10+ Year Member



Welcome!

I think the TOS here do not allow for posting URLs. Perhaps it is a good idea that you edit your post and remove that address. More info here: TOS [webmasterworld.com]

Someone else more knowledgeable than me will probably drop the code here for you. An easy way to solve that problem is to move all your large images to a folder outside the directory where they are at, now. And then just protect that folder.

The code you need will only allow for linking to the large images when the referring URL is your own domain. This requires to place an .htaccess file inside the folder you are protecting (with the code I mentioned above).

Don't worry. This is easy to solve. Wait a bit for the Apache experts.

Jenstar

10:37 pm on Sep 6, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You should do something through .htaccess to stop hotlinking.

Here is one thread on this [webmasterworld.com]

Additional searches on hotlinking at webmasterworld will bring up a lot more information on this, too.

And yes, you should remove your URLs from your post as per the TOS. And welcome to WebmasterWorld! [webmasterworld.com]

djmasala

11:11 pm on Sep 6, 2003 (gmt 0)

10+ Year Member



OK, thanks guys... appreciate it ;)

willybfriendly

11:30 pm on Sep 6, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



So, how does one provide an alternate image to just one site that is hotlinking? I have closed access to images from all other sites via .htaccess. But, since there is currently only one site giving me heartburn, I'd like to target just them.

WBF

Jenstar

11:38 pm on Sep 6, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This thread [webmasterworld.com] has information on just targeting one site via .htaccess.