Participant
October 11, 2023
Answered
How to open user password protected PDF attachment without UI password dialog
- October 11, 2023
- 1 reply
- 1003 views
Hi.
I have a PDF which is not password protected. This PDF contains user-password protected PDF as attachment. I have a button which will open the link. The JavaScript I use is:
this.exportDataObject({ cName: "test.pdf", nLaunch: 2 });But after clicking the link the Adobe Acrobat UI shows dialog to enter the password, which is "secret". Is it possible to open the attached PDF with JS and with the password provided in the JS so the user will not be bothered?
The idea is that I will have a main document which will connect to our server and get the password for the attached PDF and then it can open it without user filling the password. Is this possible? Thanks.
Attaching my PDF with the secured attachment (password: secret).
