Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Password Protect PDF with Button JavaScript

Explorer ,
Jul 19, 2023 Jul 19, 2023

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
389
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 19, 2023 Jul 19, 2023
LATEST

NO

 

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines