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

Password protecting a PDF Form using a button

Explorer ,
Jul 07, 2023 Jul 07, 2023

I have a fillable form. It’s an inventory form sent to random users.  I’d like to give them the option to password protect the document using a button.   I began with going his route,   Create a button and assign Execute a Menu item  and selecting File>Properties  

 

Well, this is not useful!   For one, this form is protected for unauthorized changes such as deleting or adding pages.  So when File > Properties brings up the security page, the user needs to know my password to go the next step so they can set their password!   What do you suggest I do?   It’s somewhat flabbergasting to be asking this question in this day and age of cybersecurity!   

TOPICS
PDF , PDF forms , Rich media and 3D
1.1K
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 Beginner ,
Jul 08, 2023 Jul 08, 2023

Send your PDF without a password and have the users secure the PDF with their password.

 

Even if you could create a button that easily changes your password, what would be the purpose of even putting your password on it?

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
Explorer ,
Jul 09, 2023 Jul 09, 2023

resectfully, I dont think you understand the concept of forms vs simply a document.   Here the user will input perosnal infromation and should be able to assign a passorwd from within the app.  You can think of a completed form as a database, not a run of the mill PDF document.

 

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 10, 2023 Jul 10, 2023
LATEST

As stated by try67, Adobe Reader does not have the ability to protect files, and neither do any of the other common PDF viewers, such as those used in browsers. So unless the user has Acrobat Pro, or another full featured PDF editor, there is no way for them to apply a password. 

So you have two options. 

1. You protect the file and send them a password to open it. They fill out the form and send it back to you. 

2. Use a different mechanism for protecting the data. For example, submit the data to a server script protected with HTTPS.  Or use an Adobe Sign form to collect data. 

 

 

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
Community Expert ,
Jul 08, 2023 Jul 08, 2023

Do all of these people have Acrobat? Because it's not possible to do it with the free Reader.

A better option is to have them digitally sign the file. That will allow you to validate it once they send it back to you.

If the purpose of this whole operation is to protect the file from other people viewing it, PDFs are not the way to go. Use a secured and encrypted web-service, instead.

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