Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
HotlinkBlocker support forum
 Helicon Tech : HotlinkBlocker support forum
Subject Topic: Is it for me? Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
SiSL
Newbie
Newbie


Joined: 18 June 2006
Online Status: Offline
Posts: 14
Posted: 18 June 2006 at 8:51pm | IP Logged Quote SiSL

Currenly I've been looking for a hotlink blocker and came across your product. Tested it and granted it does a very good job.

My trial ended but just about time it ended, my business requirements needed really different issue so I wanted to ask if it really gives following to me...

Imagine a website, filled with PDF's and allow Google search through these PDF's. However, we want users to be redirected to a same address such as:

pdf name: domain/pdfs/number1.pdf

If referer is not our own domain (such as user coming from google or any other side) we want them to be redirected to a script such as:

domain/pdfs/default.php?pdf=number1.pdf

Is that possible? I mean is that possible that certain file types redirected with their names?

Thank you in advance and kindly regards...

 

Back to Top View SiSL's Profile Search for other posts by SiSL
 
Yaroslav
Moderator Group
Moderator Group


Joined: 15 August 2002
Online Status: Offline
Posts: 6467
Posted: 21 June 2006 at 8:10am | IP Logged Quote Yaroslav

Not as easy as you asking, but I think it is possible.

The bad news is that referer based protection methods will not work with PDF files. For PDF files it is better to use REDIRECT protection method, but this method will issue a redirect instruction for every first request to PDF file and this may affect your Google ranking of these files. To avoid this problem I suggest you to use REDIRECT protection method and put the Google User-Agent into the white list.
For the script you are asking I may suggest you only to define a custom 404 error handler in IIS for the folder with your PDF files and do what you need in this 404 script. You can extract original requested file in a 404 error handler - read Microsoft's manual.
And you will need to leave "Redirect URI" field blank to generate 404 error for hotlinked files.

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


Joined: 18 June 2006
Online Status: Offline
Posts: 14
Posted: 21 June 2006 at 8:53am | IP Logged Quote SiSL

Thank you for your response.

This is probably best solution for the plan.

 

Back to Top View SiSL's Profile Search for other posts by SiSL
 

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