Skip to main content
Known Participant
July 19, 2023
Frage

Password Protect PDF with Button JavaScript

  • July 19, 2023
  • 1 Antwort
  • 489 Ansichten

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?

Dieses Thema wurde für Antworten geschlossen.

1 Antwort

Thom Parker
Community Expert
Community Expert
July 19, 2023

NO

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often