![]() |
Hot Linking
Is there a way to stop someone from hotlinking pictures on your site? Someone did this to me and used up ALL 10 gigs in one day. WTF??!!!
|
Use .htaccess or buy any anti hotlink script
|
Quote:
|
That would be a neagtive. Still learning the ropes. Any help is appericated. Thanks.
|
what do you mean by ALL 10 gigs ? ? you have only 10 gigs avail a month ??? :1orglaugh :1orglaugh :1orglaugh
|
Yep.
|
Quote:
Yes...for free. It like like 30 seconds. Ray |
Options +FollowSymlinks
RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.)?216.xxx.xx.xx(/)?.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://(www\.)?mydomain.com(/)?.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://(www\.)?myotherdomain.com(/)?.*$ [NC] RewriteRule .*\.(gif|jpg|jpeg|bmp)$ http://www.mydomain.com [R,NC] the rewritecond allows you to specify what domains can link the images the rewriterule redirects them. the hahaha123 are supposed to be brackets http://www.htmlbasix.com/disablehotlinking.shtml |
Quote:
If you check your traffic files you can quite easily find which site(s) are hotlinking your images as well. Just send them a nasty email and chances are they'll remove the link ... I've found many times photos are hotlinked from a message board in India or something. In this case after the thread gets buried the hits will slowly stop coming. |
Quote:
|
be sure when you FTP it you do it in ascii or you will screw it up
AuthGroupFile /dev/null AddHandler server-parsed .html RewriteEngine On RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://yourdomain.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com:80/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://yourdomain.com:80/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://XXX.XX.XXX.XXX/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://XXX.XX.XXX.XXX:80/.*$ [NC] RewriteRule .*\.jpg$ http://www.yourdomain.com [R,L] RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://yourdomain.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com:80/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://yourdomain.com:80/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://XXX.XX.XXX.XXX/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://XXX.XX.XXX.XXX:80/.*$ [NC] RewriteRule .*\.gif$ http://www.yourdomain.com [R,L] ErrorDocument 404 http://www.yourdomain.com/or sponsor Epic cash 404 traffic ErrorDocument 302 http://www.yourdomain.com/or sponsor Epic cash 404 traffic ErrorDocument 400 http://www.yourdomain.com/or sponsor Epic cash 404 traffic ErrorDocument 401 http://www.yourdomain.com/or sponsor Epic cash 404 traffic ErrorDocument 403 http://www.yourdomain.com/or sponsor Epic cash 404 traffic ErrorDocument 500 http://www.yourdomain.com/or sponsor Epic cash 404 traffic |
icq me and i will give you one or email it 2 you
can't post it on this board... take out some char's and puts in hahahaha |
if on a IIs then this link is cool try this
|
Hey guys I appericate all your help. I found out where it was coming from, so I sent him a pretty nasty e-mail. Hopefully that will settle things down. Thanks again.
|
Take a look here
http://www.javascriptkit.com/howto/htaccess.shtml btw... I don't think a nasty email will be enough. |
Quote:
seriously, what do you mean by ALL 10 gigs? regardless, you are getting ripped off |
Quote:
want me to DDoS him with my 5000 zombies? :winkwink: j/k :1orglaugh |
LOL....nice! Jace, you know I'm not a big time playa yet like you. HA! That's all I need for the moment. This webmaster thing will take time, so I'll hook it up when the time is right. What is a normal bandwith limit anyways? At the risk of looking like an ass......
|
Quote:
75 gigs of bandwidth a month for about $13 ... And use .htaccess, of course. :) |
great thread - thanks!
|
Quote:
on www.webair.com for example, you can get 50gb for $9.95... just FYI, an email will not get them to stop hotlinking...you will NEED the htaccess |
HA! Just got an email back apologizing for hotlinking. Still gonna use the .htaccess though. I'll look into some new hosting too. I think I'm getting screwed on th file transfer limit. Though my hosting hasn't billed me in 6 months. Suckers!!!
|
Quote:
You sig shows a red x. :glugglug |
Great thread. I've been meaning to do up my htaccess but havent gotten around to it.
|
Quote:
|
All times are GMT -7. The time now is 05:08 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123