![]() |
Sergey Kornilov admin 11/6/2007 |
Set "View as" type to Hyperlink and enter the full path to the file into a prefix field i.e. http://www.webserver.com/folder/ |
G
|
guroos author 11/6/2007 |
Thanks for that, it works nicely. But this raises another issue. Once the user opens the file they can see the path to the pdf and might be able to guess the name of others they are not meant to see. |
S
|
slobbering_dog 11/21/2007 |
Maybe you could use frames to display the page - this will only show the name of the name of the site that the initial frame calls and the destination frame links are not displayed at all. Thanks for that, it works nicely. But this raises another issue. Once the user opens the file they can see the path to the pdf and might be able to guess the name of others they are not meant to see. Is there a way to restrict the viewing of PDFs to the user who has logged in? I'm guessing this might be outside the scope of PHPRunner. I did find a php script that is supposed to open PDFs but it just kept telling me it was in the wrong format or not there. If I can get this to work I might be able to link to this as well as protect the page, unless someone has a better way. |