View Full Version : Avoid hotlinking with IIS???
SloppyGoat
Sun 19th May '02, 9:02pm
Everyone seems to be on the Apache boat. Anyone know how this can be done on IIS5?
Jake Bunce
Mon 20th May '02, 2:10am
this is more of a server configuration question, not a vBulletin one. i am moving this to the appropriate forum. :)
in answer to your question, i don't know. :(
SloppyGoat
Mon 20th May '02, 9:03pm
Actually, you can delete one or the other. I posted another one in this forum before you moved it. Sorry....just call me newbie here. :D
hypedave
Mon 20th May '02, 9:32pm
Originally posted by SloppyGoat
Everyone seems to be on the Apache boat. Anyone know how this can be done on IIS5?
what exactly do you mean by hotlinking ?
SloppyGoat
Mon 20th May '02, 10:24pm
Keeping people from linking to my images and attachments...
SloppyGoat
Fri 24th May '02, 10:01am
BUMP
Scott MacVicar
Fri 24th May '02, 10:25am
I don't believe that this is possible with IIS.
Have you tried a search engine to look for answers?
SloppyGoat
Fri 24th May '02, 6:48pm
Yes. There isn't alot aboutn IIS out there, so it seems. Thanks anyway. I just thought I'd heard of this being done somehow with asapi, er something. :confused:
hypedave
Fri 24th May '02, 7:27pm
Originally posted by PPN
I don't believe that this is possible with IIS.
Have you tried a search engine to look for answers?
yes its possible with IIS, but he needs his IIS Setup to be run from behind a firewall such ISA 2000 and then create his filters
jerryfan2000
Tue 28th May '02, 7:33pm
I have done this with IIS. It is pretty simple if you know how to write ISAPI filter program with visual C++. You need to create an ISAPI Filter and install it with MMC for IIS. In MMC, you can find something like ISAPI filter add/remove things like that. Just add your filter over there. With ISAPI filter, you can alterate functionality of IIS in any way you want.
Let me provide you some prgoramming hint.
(1) You need to get client request header 1st.
(2) compare where is he referred from. If his referral is not from the IP/domain of your site, then alterate response header to 404 not found or if u want, u can even send him your ads page.
(3)Add your filter to MMC for IIS and set its prioirty to highest so that ur filter can detect hotlinking before IIS responses.
SloppyGoat
Thu 30th May '02, 12:07am
Man, I'm not a programmer, unfortunately. I'll see if I can find someone who can handle the task. Maybe you could supply the filter for me? I'm afraid I'm quite a noob when it comes to this stuff. :(
vBulletin® v3.8.0 Release Candidate 1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.