![]() |
Need to Block Hotlinkers!!!!!!!!!
http://www.spamfreexxx.com/
http://xxxmovieforum.com/ Need to block any kind of traffic from these guys. They link directly to peoples movie files. |
use an .htaccess files or buy a anti-hotlinking script ...
with this kind of script you can earn money and redirect traffic on your main page or and sponsor one. |
What's the code to block traffic from certain sites?
And what is url for the anti hotlinking script? |
A pure htaccess solution won't work against hotlinking (for the right-clicking). Actually, it would work (someone made me once one) but it will affect other things negatively as well.
There IS a solution with Javascript + htaccess like this one below : This goes onto the pages you want to protect : <SCRIPT LANGUAGE="javascript"> // Calculate the expiration date var expires = new Date (); expires.setTime(expires.getTime() + 1 * 60 * 60 * 1000); document.cookie = "id=valid; path=/" + "; expires=" + expires.toGMTString(); </SCRIPT> This goes into your htaccess : RewriteEngine on RewriteOptions inherit RewriteCond %{HTTP_REFERER} !^http://([a-z0-9-]+\.)*yourdomain.com/ [NC] RewriteCond %{HTTP_COOKIE} !(^|(.+;)*)id=valid(;.*|$) RewriteRule /*$ http://www.yourdomain.com/ [L,R] But it's not 100% safe and even more important, most tgps & mgps ban javascript, so your galleries wouldn't even make it through the submission scripts. There is another 100% effective solution, and you might want to contact me. Michael |
<Limit Get>
order allow,deny deny from www.spamfreexxx.com deny from www.xxxmovieforum.com allow from all </Limit> Would this work? I contacted you once and you ended up giving me a url to a webhost LOL |
Oups, VeriSexy, sorry, i just see that the board doesn't allow and hides javascript.
Let me try it again. This goes onto the pages you want to protect : ZZZZSKRIPT LANGUAGE="javascript"ZZZZ // Calculate the expiration date var expires = new Date (); expires.setTime(expires.getTime() + 1 * 60 * 60 * 1000); document.cookie = "id=valid; path=/" + "; expires=" + expires.toGMTString(); ZZZZ/SKRIPTZZZZ Please replace SKRIPT INTO SCRIPT And ZZZZ into < and > Otherwise hit me up on icq again (sorry if i don't remember you) and i'll help with that script. Concerning the url, it's the perfect solution for me for hosting movie galleries since they have the hotlink protection implemented into their hosting facilities, so you won't need any other scripts like above. Ciao! Michael |
I know about Java script. i don't plan to use it since it's banned by many TGPs
|
|
If you have a good hosting with cPanel5 - the antihotlinking script is already there... Just choose "set anit-hotlinking" in control panel.
|
xxxwebhosting.com is offering time stamped urls in their cheaper virtual hosting streaming packages ...
I've only tested it a little bit since it's new, but it might be worth a look since it can be fairly effective against hotlinking ... Just FYI |
I use likewhoa to protect my movies from being hotlinked. I sometimes get over 40K in traffic from these type places. Their prod may not be that good but It does help me grow! So let them link me all they wish! :)
|
just set the cookie with php then there won't be any javascript...
|
All times are GMT -7. The time now is 01:02 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123