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

Password Protect PDF with Button JavaScript

Explorer ,
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

Views

185

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST

NO

 

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

Votes

Translate

Translate

Report

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