Hi all,
I'm creating a page, when authenticated user click on a image, opening a new tab showing a pdf. In my content type, the pdf files are saved in a private folder. I'm using Private files download permission 7.x-2.2 to only allow authenticated user to view and download the PDF file. Here comes the problem, when I preview created page, the PDF Reader (PDF Reader 7.x-1.0-rc4. Using Google Viewer) is not able to find the PDF at the original source. But when I click on "here " in error message (I attached the error message), I can download the pdf. The pdf reader working fine when saved the pdf in the public folder, I think the problem is that I store the pdf in private folder. Can anyone help ? Thanks in Advance!
Best, Li
Here comes the problem, when I preview created page, the PDF Reader (PDF Reader 7.x-1.0-rc4. Using Google Viewer) is not able to find the PDF at the original source.
Because you have set permissions to open the PDF file only for authenticated users Google reader will not be able to access the document from your server.
Thanks Anoop
|-- | Zyxware Technologies | http://www.zyxware.com |-- | Be the change you wish to see in the world, M. K. Gandhi |--
Thanks, User already log in as authenticated user, then Google reader rendering PDF. So Google Viewer doesn't care whether user login, as long as it is in private folder with permission, It doesn't read the PDF ?
Does any solution for this ? I can download it after login.
Best Li On 07-03-2013 05:20, Anoop John wrote:
Here comes the problem, when I preview created page, the PDF Reader (PDF Reader 7.x-1.0-rc4. Using Google Viewer) is not able to find the PDF at the original source.
Because you have set permissions to open the PDF file only for authenticated users Google reader will not be able to access the document from your server.
Thanks Anoop
|-- | Zyxware Technologies | http://www.zyxware.com |-- | Be the change you wish to see in the world, M. K. Gandhi |--