View Full Version : Bandwidth Thief
FightRice.com
04-01-2005, 06:43 PM
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
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
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
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
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
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
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.