Render Encrypted PDFs Without Requiring a User Password #1885
Unanswered
ZHIFA-CHIU
asked this question in
Q&A
Replies: 1 comment
-
README -> Ctrl+F -> "Password". There's a function that you can provide in place of the built-in one to handle entering passwords. The question is, how much sense does it have, because then you'd need to store PDF passwords on the front end... But that's another story. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Before you start - checklist
Description
I have an encrypted PDF that doesn’t require users to enter a password to view it. It renders correctly in Chrome. However, when I try to render it using react-pdf, I encounter the error: PasswordException: No password given.
Is this behavior expected, or is there a way to bypass this issue?
Steps to reproduce
null
Expected behavior
The PDF is rendered
Actual behavior
Received an error
Additional information
No response
Environment
Beta Was this translation helpful? Give feedback.
All reactions