Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Users can view PDFs but preventing them the download #42

Open
nicfab opened this issue Mar 18, 2023 · 2 comments
Open

Users can view PDFs but preventing them the download #42

nicfab opened this issue Mar 18, 2023 · 2 comments

Comments

@nicfab
Copy link

nicfab commented Mar 18, 2023

Is your feature request related to a problem? Please describe.
Sometimes allowing users only to view some PDFs is preferable, preventing them from downloading them.
Sometimes you may want to share PDFs, but you want to prevent the download for various reasons.

Describe the solution you'd like
So, you can implement the plugin code with a feature that allows avoiding downloading PDFs.
In that way, PDFs can remain "embedded" in the webpage, and users can only view them page by page, but they should not be allowed to download PDFs. It's like a security mode.

I much appreciate it if you consider this suggestion soon.
See issue #26

@anvithks
Copy link
Owner

@nicfab Working on this. Will try to implement and push this soon.

@sjhloco
Copy link

sjhloco commented Dec 22, 2023

I needed this feature so created a fix as per this disable_download branch. Not sure if you are currently in process or can contribute if needed, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants