...

View Full Version : Hot Linking. How do I stop It ?



Neros
05-05-2005, 08:39 PM
I have installed on my server now ISAPI and it seems to do ok but not a complete shut down of hot links to my galleries but where I am really getting killed (in bandwidth) is hot links to my video content. I am a free referrel site. I went from 2Mbps per month to 10Mbps and needless to say is costing me a fortune. If there is nothing existing to stop the hot links can there be something written for me..Of course I am will to pay for it....

Thanks for any and all input !

Dan

JamieR
05-06-2005, 12:10 AM
You can write a script which will handle all refering urls and then direct them. A friend of mine wrote a HTTP image handler for ASP.net because of loads of people hotlinking his stuff.

However, although I'm a PHP guy rather than a ASP guy, I have no idea how to do it in PHP.

btw, welcome to CF :)
Jamie.

Neros
05-06-2005, 12:48 AM
Thanks for the Welcome ! :) I am not good at any programming format lol...my server can handle PHP I program all HTML and some java, but it is far easier to get a script that you know already works. So whatever will work on a windows 2003 server with php and MYSql would be a BIG help. I am getting eaten alive......

Thanks again Jamie

Dan
NerosAngels.com

JamieR
05-06-2005, 09:08 AM
I think there are some hot-linking protection scripts around, however you can do it with .htaccess I believe ;)

oracleguy
05-07-2005, 10:23 PM
Yeah, you can use .htaccess, you can modify the code here to work for video files fairly easily: http://www.javascriptkit.com/howto/htaccess10.shtml

Spookster
05-15-2005, 05:44 PM
So whatever will work on a windows 2003 server with php and MYSql would be a BIG help.


.htaccess will only work if they are using Apache on that Windows2003 server instead of IIS.

Neros
05-16-2005, 02:23 AM
I do not have Apache :( I am using IIS

JamieR
05-16-2005, 02:24 PM
You could try http://www.iis-resources.com/modules/mydownloads/viewcat.php?cid=12 ;)

ChronicleX.com
05-17-2005, 12:33 PM
10Mbps a month is that for all of your stuff? Becuase that is not big at all i can do that within a day easy. why don't you just pay for a host cpanel has hot link stuff on it. Am Not sure if you can use Cpanel on your own webserver?

how can it cost you if you have your own webserver or is your ISP like a payasyou go thing? and its like 50 -$125??? for 1mb of bandwidth???????????
(i have never seen a pay as you go one so i guess it costs alot :thumbsup: )

Jalenack
05-18-2005, 09:09 PM
There's a fabulous ALA article on the subject:

http://www.alistapart.com/articles/hotlinking/

Spookster
05-18-2005, 11:34 PM
There's a fabulous ALA article on the subject:

http://www.alistapart.com/articles/hotlinking/

That method requires using a .htaccess file which requires that you use Apache. They are using IIS.

Neros
05-25-2005, 03:43 AM
You could try http://www.iis-resources.com/modules/mydownloads/viewcat.php?cid=12 ;)


Thank you so much for the link. I installed this as well as customizing my 404 pages. Although I still get idiots hot linking I suppose this is the best I can hope for.
As for the bandwidth, it is my server, but I have it hosted through a company that has 100Mbit lines and provides auto tape back up (daily) and auto battery back up for any power outages. So yes it costs me money for using their bandwidth.
Money is not the issue. The issue is people stealling from me costing me more money and me not having the chance to sell the products from my sponsors, that is the issue........if I was rich and could afford to throw money away each month I would not complain. But I am in this to make money, not throw it away as I am sure you are also :o

Thanks All !
Dan :cool:



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum