-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Can I password protect a pdf generated using react-pdf? #672
Comments
It's not, and not sure if |
It does support it. https://github.com/foliojs/pdfkit/blob/master/docs/getting_started.md#encryption-and-access-privileges However I'm not sure if react-pdf is the right place to implement it, as the browser would prompt the user for a password on every rerender. |
+1 for the password-protected PDF feature. Any plans to consider this feature? |
@diegomura You have the option to add a userPassword and an ownerPassword. While are here you can also expose the permission option object.
|
Did you guys figure out a way to pass those options down to the pdfkit? The way I see it there is no way at the moment right? Would be nice to allow for extra options/props to be just passed through to the pdfkit. |
Based on foliojs/pdfkit#820 upstream Fixes diegomura#672
Based on foliojs/pdfkit#820 upstream Fixes diegomura#672
Based on foliojs/pdfkit#820 upstream Fixes diegomura#672
I have a requirement to allow users to scrape contents of a page by exporting to pdf. A must have feature is to give users the ability to password-protect the pdf at run-time.
Is this feature available in react-pdf or do you know of third-party tools that I can use alongside your component?
The text was updated successfully, but these errors were encountered: