This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
HotlinkBlocker
 Helicon Tech : HotlinkBlocker
Subject Topic: Blocking a single referer (Topic Closed Topic Closed) Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
PugFish
Newbie
Newbie


Joined: 22 May 2006
Location: United Kingdom
Online Status: Offline
Posts: 2
Posted: 22 May 2006 at 4:48am | IP Logged  

Hey,

I've been trying to work this out, but I can't seem to find a way of doing it.

I need to block a single referer from accessing a single file. The only way I can see is through the black and white lists, but that will affect the rest of my protected links too.

Do you know of another way I could do it?
Back to Top View PugFish's Profile Search for other posts by PugFish Visit PugFish's Homepage
 
Yaroslav
Admin Group
Admin Group


Joined: 15 August 2002
Online Status: Offline
Posts: 6521
Posted: 23 May 2006 at 4:53am | IP Logged  

Yes, HotlinkBlocker was not designed for such configuration scenarion. Here you can use ISAPI_Rewrite Lite to do what you need. Here is a rule example to put in httpd.ini file:

RewriteCond Referer: http\://www\.somereferer\.com/page\.htm
RewriteRule /dir/pageonmysite.htm /block.htm [I,L]

__________________
Yaroslav Govorunov,
Helicon Tech
Back to Top View Yaroslav's Profile Search for other posts by Yaroslav Visit Yaroslav's Homepage
 
PugFish
Newbie
Newbie


Joined: 22 May 2006
Location: United Kingdom
Online Status: Offline
Posts: 2
Posted: 23 May 2006 at 7:08am | IP Logged  

Thanks, it worked like a charm
Back to Top View PugFish's Profile Search for other posts by PugFish Visit PugFish's Homepage
 

Sorry, you can NOT post a reply.
This topic is closed.

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum