![]() |
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 |
http://forums.devshed.com
Search there for 'htaccess image' and you should find something useful. ;) |
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.
|
Or, most cpanel controlled accounts have a feature to stop "hotlinking". Check it out if your on a cpanel account - lots easier ;)
|
Quote:
|
Quote:
|
Quote:
|
Quote:
Even if the provide a direct link to the attachment? I'll test it out. Thanks alot. |
Quote:
|
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? |
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|