0
Password Protect PDF with Button JavaScript
Explorer
,
/t5/acrobat-sdk-discussions/password-protect-pdf-with-button-javascript/td-p/13947626
Jul 19, 2023
Jul 19, 2023
Copy link to clipboard
Copied
Just like the title suggests, I want to create a custom button. Once the user clicks on the button, they'll have the choice to enter their own password (or I can set one in the code.) Then, when someone tries to open the document, they'll be asked to enter the password they either picked or that I set in the code. If the password is wrong, no access to the PDF will be granted. Do you think this can be done?
TOPICS
Acrobat SDK and JavaScript
,
Windows
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Community Expert
,
LATEST
/t5/acrobat-sdk-discussions/password-protect-pdf-with-button-javascript/m-p/13949091#M91945
Jul 19, 2023
Jul 19, 2023
Copy link to clipboard
Copied
NO
Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often
Use the Acrobat JavaScript Reference early and often
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

