vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Stop bandwidth thievery? (https://vborg.vbsupport.ru/showthread.php?t=41015)

X-Fan 07-13-2002 07:10 AM

Stop bandwidth thievery?
 
I've been having a big problem with bandwidth thieves of late, linking directly to images at my Web site from other sites, and I need to put a stop to it.

How can I set it up so that if someone tries to link directly to an image on my server it blocks them from doing so?

Admin 07-13-2002 07:13 AM

Use mod_rewrite... I don't have the exact syntax, but if you search Google for "mod_rewrite images stop bandwidth" I'm sure you'll come up with something. :)

Admin 07-13-2002 07:20 AM

<a href="http://www.bignosebird.com/apache/a13.shtml" target="_blank">http://www.bignosebird.com/apache/a13.shtml</a>

X-Fan 07-13-2002 08:59 AM

Worked perfectly!

Thanks a bunch, Chen!!!!

X-Fan 07-13-2002 09:32 AM

Actually, it worked a bit too perfectly. It's not only blocking other sites from loading up images at my site, but blocking my site from loading images in it as well!

I used my site's base URL's of x-mencomics.com and www.x-mencomics.com in the htaccess file, then tried adding the xfan subdirectory to the end of each and still no luck.

Any ideas how I can tweak it so as to stop it blocking my own site from loading images?

Admin 07-13-2002 10:44 AM

Try this:
http://www.thesitewizard.com/archive...dththeft.shtml

X-Fan 07-13-2002 10:55 AM

Yeah, I found that site and tried their method too. It's still blocking images from loading on my site, as well as blocking them when linked to on other sites.

Admin 07-13-2002 10:58 AM

I really don't know then, sorry. Try asking at vB.com's Server Config forum, eva2000 will know the answer. :)

X-Fan 07-13-2002 11:15 AM

Shall do. Thanks for taking the time out to try and help, Chen!

Logician 07-13-2002 05:03 PM

<a href="https://vborg.vbsupport.ru/attachment.php?s=&postid=271487" target="_blank">https://vborg.vbsupport.ru/attac...&postid=271487</a>

X-Fan 07-15-2002 02:18 PM

Thanks Logician, but I followed what the tutorial said to do (which was slightly different to the other methods) and still no go - the .htaccess file in my images directory is blocking my forums from loading files from the images directory and any sub-directories. :(

Logician 07-15-2002 05:26 PM

maybe you can ask your host.. They usually tend to help with .htaccess problems..

TECK 07-15-2002 05:59 PM

x-fan, what broswer do u use?
read this:
Quote:

Like the PHP and CGI solution, this method relies on the HTTP_REFERER being properly set by the visitor's browser. A number of modern browsers as well as some of the anonymous surfing proxies allow the user to change this header. These browsers or proxies will thus either transmit HTTP_REFERER headers that have some user-specified value or not bother to transmit them at all. There are also buggy browsers around that unpredictably transmit the wrong HTTP_REFERER header on occasion.
i'm sure that's your prob, the browser.

X-Fan 07-16-2002 12:30 AM

I'm using IE v6.0

Rapdis 09-07-2002 03:31 PM

the problem is the mod_rewrite is not installed on the server, and not installed on many server due to abuse, i need help asap, it cost me £155 this month, i really dont know what to do...

sum1 help!


All times are GMT. The time now is 11:46 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01178 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (15)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete