- Posts: 4
- Thank you received: 0
Custom pdf file viewer.
- FURIO PETROSSI
- Topic Author
- Offline
- New Member
-
Less
More
3 weeks 19 hours ago - 3 weeks 19 hours ago #172002
by FURIO PETROSSI
Custom pdf file viewer. was created by FURIO PETROSSI
Mozilla PDF.js viewer or the pdf viewer of your browser, or other similar viewer,js is often used.
Allow the use of an external viewer that points directly to the document's URL on the website
such as
would allow for greater modularity.
Furio Petrossi
Allow the use of an external viewer that points directly to the document's URL on the website
such as
www.mysite.com / pdfview / web / viewer.html ? file = /mydir /mysubdir /mydoc.pdf
would allow for greater modularity.
Furio Petrossi
Last edit: 3 weeks 19 hours ago by FURIO PETROSSI.
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13056
- Thank you received: 1696
3 weeks 15 hours ago #172005
by Mr. Dam
Replied by Mr. Dam on topic Custom pdf file viewer.
Dear Furio Petrossi,
Thank you for your valuable feedback.
You're absolutely right that using an external PDF viewer like Mozilla PDF.js via direct URLs can provide more modularity. However, this method also poses potential security risks. In order to use viewer.html and its related files directly, the corresponding folders must be made publicly accessible. This requires adjusting site security settings to allow unrestricted access to those directories, which can be quite dangerous.
That’s why, with the new PDF viewing method in EDocman 2.0, we have moved away from the older plugin-based approach. The current implementation eliminates the risk of attacks through external viewer folders. In our new system, only specific file types like PDF and DOCX are uploaded into the /edocmanviewer folder in the site root and can be accessed directly. All other file types are blocked from direct access, enhancing security significantly.
We hope this clarifies the reason behind the change. Please let us know if you have further questions or suggestions.
Thanks
Dam
Thank you for your valuable feedback.
You're absolutely right that using an external PDF viewer like Mozilla PDF.js via direct URLs can provide more modularity. However, this method also poses potential security risks. In order to use viewer.html and its related files directly, the corresponding folders must be made publicly accessible. This requires adjusting site security settings to allow unrestricted access to those directories, which can be quite dangerous.
That’s why, with the new PDF viewing method in EDocman 2.0, we have moved away from the older plugin-based approach. The current implementation eliminates the risk of attacks through external viewer folders. In our new system, only specific file types like PDF and DOCX are uploaded into the /edocmanviewer folder in the site root and can be accessed directly. All other file types are blocked from direct access, enhancing security significantly.
We hope this clarifies the reason behind the change. Please let us know if you have further questions or suggestions.
Thanks
Dam
Please Log in or Create an account to join the conversation.
- FURIO PETROSSI
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
3 weeks 9 hours ago #172012
by FURIO PETROSSI
Replied by FURIO PETROSSI on topic Custom pdf file viewer.
Thank you, very good. Safety is important.
My database includes about 26GB of data in 1500 files.
I see that the searched documents are transferred to the Root/edocmanviewer folder.
How long do they stay there? because the website is in a host that allows me only 50GB of space, so the functionality of the site is ensured by a balanced use of resources.
Thank you!
Furio
My database includes about 26GB of data in 1500 files.
I see that the searched documents are transferred to the Root/edocmanviewer folder.
How long do they stay there? because the website is in a host that allows me only 50GB of space, so the functionality of the site is ensured by a balanced use of resources.
Thank you!
Furio
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13056
- Thank you received: 1696
3 weeks 9 hours ago #172013
by Mr. Dam
Replied by Mr. Dam on topic Custom pdf file viewer.
Dear Furio,
Thank you for your message and for your focus on safety and resource management.
We understand your concern regarding the storage in the Root/edocmanviewer folder. To address this, we are implementing a solution that will automatically delete all documents in that folder at the beginning of each new day. This will help keep your hosting usage under control and ensure the smooth operation of your website.
We will notify you once this cleanup mechanism is active.
Best regards,
Dam
Thank you for your message and for your focus on safety and resource management.
We understand your concern regarding the storage in the Root/edocmanviewer folder. To address this, we are implementing a solution that will automatically delete all documents in that folder at the beginning of each new day. This will help keep your hosting usage under control and ensure the smooth operation of your website.
We will notify you once this cleanup mechanism is active.
Best regards,
Dam
The following user(s) said Thank You: FURIO PETROSSI
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.