vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Bandwidth Thief (https://vborg.vbsupport.ru/showthread.php?t=79189)

FightRice.com 04-01-2005 06:43 PM

Bandwidth Thief
 
Someone keeps linking to my attachments on my server and posting them everywhere. I didn't mind this at first, but my site isn't getting any bigger by this guy posting everything on other forums instead of making them come to me.

Is their any way i can stop this from happening but when he does do it, i want another image to appear like they do at angelfire when you try to hotlink their images. Hopefully you guys know what i'm tlaking about and can help.

Thanks

Tigga 04-01-2005 06:44 PM

http://forums.devshed.com

Search there for 'htaccess image' and you should find something useful. ;)

lasto 04-01-2005 07:19 PM

im sure if u set the attachments so guests cant download em then if he links to em anyway they still gotta be registered on your site to download em anyway.

manguish 04-01-2005 07:28 PM

Or, most cpanel controlled accounts have a feature to stop "hotlinking". Check it out if your on a cpanel account - lots easier ;)

deathemperor 04-01-2005 11:54 PM

Quote:

Originally Posted by Tigga
http://forums.devshed.com

Search there for 'htaccess image' and you should find something useful

searched and found a bunch of unanswered question

lasto 04-02-2005 12:46 AM

Quote:

Originally Posted by lasto
im sure if u set the attachments so guests cant download em then if he links to em anyway they still gotta be registered on your site to download em anyway.

my option still stands - if you set permissions right then members linking to your attachments wont be able to download them unless they a member.

noppid 04-02-2005 01:03 AM

Quote:

Originally Posted by lasto
my option still stands - if you set permissions right then members linking to your attachments wont be able to download them unless they a member.

I'll Third that! :ermm:

FightRice.com 04-02-2005 05:42 AM

Quote:

Originally Posted by lasto
my option still stands - if you set permissions right then members linking to your attachments wont be able to download them unless they a member.


Even if the provide a direct link to the attachment? I'll test it out. Thanks alot.

deathemperor 04-02-2005 02:12 PM

Quote:

Originally Posted by FightRice.com
Even if the provide a direct link to the attachment? I'll test it out. Thanks alot.

yep, even so.

FightRice.com 04-02-2005 04:11 PM

Sweet thanks that worked.

Now i am attempting to figure out how to get the .htaccess file to work and what directory are the attachments stored in?

AlexanderT 04-02-2005 04:22 PM

RewriteCond %{QUERY_STRING} .*attachmentid=.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite\.com/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule ^.* - [F]

If your site is also accessible through ip, add
RewriteCond %{HTTP_REFERER} !^http(s)?://11.22.33.44/ [NC]
below RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite\.com/ [NC].

Alex


All times are GMT. The time now is 05:19 PM.

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.01117 seconds
  • Memory Usage 1,732KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (11)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