Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
HotlinkBlocker support forum
 Helicon Tech : HotlinkBlocker support forum
Subject Topic: Call files using file system path? Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
ck31wong
Newbie
Newbie


Joined: 13 February 2006
Location: United States
Online Status: Offline
Posts: 6
Posted: 02 October 2007 at 11:08am | IP Logged Quote ck31wong

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 View ck31wong's Profile Search for other posts by ck31wong
 
ck31wong
Newbie
Newbie


Joined: 13 February 2006
Location: United States
Online Status: Offline
Posts: 6
Posted: 04 October 2007 at 12:44pm | IP Logged Quote ck31wong

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 View ck31wong's Profile Search for other posts by ck31wong
 
Yaroslav
Moderator Group
Moderator Group


Joined: 15 August 2002
Online Status: Offline
Posts: 6466
Posted: 05 October 2007 at 5:12am | IP Logged Quote Yaroslav

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 View Yaroslav's Profile Search for other posts by Yaroslav Visit Yaroslav's Homepage
 
ck31wong
Newbie
Newbie


Joined: 13 February 2006
Location: United States
Online Status: Offline
Posts: 6
Posted: 05 October 2007 at 8:24am | IP Logged Quote ck31wong

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 View ck31wong's Profile Search for other posts by ck31wong
 
Yaroslav
Moderator Group
Moderator Group


Joined: 15 August 2002
Online Status: Offline
Posts: 6466
Posted: 05 October 2007 at 2:33pm | IP Logged Quote Yaroslav

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