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

Expose the document permissions via API #9972

Closed
pdfhandler opened this issue Aug 9, 2018 · 2 comments
Closed

Expose the document permissions via API #9972

pdfhandler opened this issue Aug 9, 2018 · 2 comments

Comments

@pdfhandler
Copy link

Does PDF.js have an API to retrieve the document permissions?

We would like to see if the document is printable or is editable.
This will be used for verification and be categorized.

If there are not, what is the plan for introducing the ability to retrieve this information.

@timvandermeij
Copy link
Contributor

No, we don't handle document permissions yet. Could you provide some example PDF files for us to work with?

@pdfhandler
Copy link
Author

Attached is a file set with different permissions.
sleep_no_document_editing.pdf
sleep_no_printing.pdf
sleep_no_copying.pdf

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

2 participants