This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
HotlinkBlocker (Forum Locked Forum Locked)
 Helicon Tech : HotlinkBlocker
Subject Topic: Call files using file system path? (Topic Closed Topic Closed)
Author
Message |
ck31wong
Newbie


Joined: 13 February 2006
Location: United States
Posts: 6
Posted: 02 October 2007 at 11:08am  

Hi Hotlinkblocker dev,

I was wondering if I can call the file using file system path with hotlinkblocker key?

The reason I am asking is, I am trying to show secure files (behind hotlinkblocker) but using HTTP request (http://domain.com/XXXXXXXXXXXXXXXX/filename.txt) to load the files are too slow and eventually, the key expires.

If I can do it using local system path (C:\dir1\filename.txt), the performance will be improved tremendous and I don't have to compromise the current hotlinkblocker key length settings.

If it's possible, would you provide me a code snippet? Thanks,

CK

Back to Top
 
ck31wong
Newbie


Joined: 13 February 2006
Location: United States
Posts: 6
Posted: 04 October 2007 at 12:44pm  

Hi Hotlinkblocker dev,

I just want to check if my request could be possible. Your immediate responses would be much appreciated. Thanks,

CK

Back to Top
 
Yaroslav
Admin Group


Joined: 15 August 2002
Posts: 6520
Posted: 05 October 2007 at 5:12am  

I'm sorry but I didn't understand the question. HotlinkBlocker is IIS add-on, it does not do anything with files or file system and cannot be involved here. So your media files on disk will remein there and will be normal files to call from anywhere.

__________________
Yaroslav Govorunov,
Helicon Tech
Back to Top Visit Yaroslav's Homepage
 
ck31wong
Newbie


Joined: 13 February 2006
Location: United States
Posts: 6
Posted: 05 October 2007 at 8:24am  

Hi Yaroslav,

  Thanks for your reply. What I mean was, instead of using HTTP request to call the files protected behind hotlinkblocker(FPBH), is there anyway I can retrieve the FPBHs using local file access with hotlinkblocker?

  For instance, in VB.NET, i can call the FPBH via http path,

   //show1 is set as Literal
   show1.Text = "<IMG SRC='http://www.domain.com/" & Request.ServerVariables("HTTP_X_HOTLINKBLOCKER_SIGNATURE & "' >"

  What I was trying to archive is, is it possible to call the file locally using system path or UNC path?

   // directory 'IMG' has hotlinkblocker enabled and is the subroot of a website in IIS

show1.Text = "<IMG SRC=C:/folder1/IMG/" & Request.ServerVariables("HTTP_X_HOTLINKBLOCKER_SIGNATURE & "' >"

  My goal is to use hotlinkblocker signature without using http request.

  I hope this makes sense to you now. Thanks for your time on this.

Back to Top
 
Yaroslav
Admin Group


Joined: 15 August 2002
Posts: 6520
Posted: 05 October 2007 at 2:33pm  

The short answer is no.
I just think you misunderstood how the web server works. You cannot access files on web server with a local path.

__________________
Yaroslav Govorunov,
Helicon Tech
Back to Top Visit Yaroslav's Homepage
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version
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