Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
HotlinkBlocker support forum
 Helicon Tech : HotlinkBlocker support forum
Subject Topic: Exception File List? Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
freitasm
Newbie
Newbie


Joined: 11 December 2005
Location: New Zealand
Online Status: Offline
Posts: 28
Posted: 15 December 2005 at 4:01am | IP Logged Quote freitasm

Any chance of having a "White List" for content? For example a list of images under a protected folder but always served without being blocked?

I have a newsletter and use some images from /images. They are blocked on my html email but I don't want to have to copy these image to another folder. Having an "exception" list would be nice in this case.

Cheers

Back to Top View freitasm's Profile Search for other posts by freitasm Visit freitasm's Homepage
 
Yaroslav
Moderator Group
Moderator Group


Joined: 15 August 2002
Online Status: Offline
Posts: 6467
Posted: 15 December 2005 at 9:10am | IP Logged Quote Yaroslav

You can set exceptions if using regular expressions directory patterns. For example set this pattern instead of simple "/images":

@/images(?!/exceptionfolder).*

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


Joined: 11 December 2005
Location: New Zealand
Online Status: Offline
Posts: 28
Posted: 15 December 2005 at 1:44pm | IP Logged Quote freitasm

Thanks... Can this be used for individual file names?

 

 

Back to Top View freitasm's Profile Search for other posts by freitasm Visit freitasm's Homepage
 
freitasm
Newbie
Newbie


Joined: 11 December 2005
Location: New Zealand
Online Status: Offline
Posts: 28
Posted: 15 December 2005 at 2:20pm | IP Logged Quote freitasm

I mean, folders and filenames in the same regex, for example

/images/tabs allowed

/images/logo.jpg allowed

/images/blocked.jpg allowed

/images disallowed

 

Cheers

 

Back to Top View freitasm's Profile Search for other posts by freitasm Visit freitasm's Homepage
 
Yaroslav
Moderator Group
Moderator Group


Joined: 15 August 2002
Online Status: Offline
Posts: 6467
Posted: 16 December 2005 at 3:55am | IP Logged Quote Yaroslav

Theoretically it is possible:
@/images/(?!tabs|logo.jpg|blocked.jpg).*
but I would not suggest you to use this technique for a large number of images.
Also please note that HotlinkBlocker can be used in conjunction with ISAPI_Rewrite to build complex custom configurations.

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

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  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