You can prevent hotlinking to the file by changing the setting on your server. But it depends on the type of server you are running. Could you give more information on that?
Alternatively, you can embed a JavaScript code in the PDF file itself. All you would have to do is to create a field with a white background on top of the contents of each page of your document and set it to ".hidden". You would then be able to create a tracking field with a bool value that is set to true if the user looks at the document directly but is set to false if the document is viewed through your index page. This value would determine if the content of the PDF file is viewable or not. The value of this tracking field would be set by initiating a ".fdf" file which imports a 0 value to the PDF document, which would in turn allow the user to see the contents of the PDF file.
If you didn't understand a word of what I just said, contact me at
webmaster@digioz.com to talk about it. I would be willing to do this for you for a small fee if you need it.
Quote:
|
Originally Posted by markmarkymark
Thanks ....
Actually I'm happy for them to be spidered. All I want is that then a spidered file is index, or where someone is sponging the file (as is also the case) they are directed to the download page rather than getting the file remotely .....
Bascically I have some pdf files for download. one organisation is linking directly to the file, rather then to the page where the file download links are. I am fine with them linking to the page, but not happy linking to the file direct ...
|