These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Password Protecting Forms on LiveCycle

BrettS
Registered: Aug 2 2007
Posts: 11

Adobe LiveCycle Designer --
Password Protecting Forms on LiveCycle
 
Hello,
 
I have a form that will be used by multiple users. These users will fill in data, then submit a pdf via email. I need these pdf's to be password protected with a specific password for each report, but not a random generated one...they will enter the information that will be included in the password, on the form.
 
So, preferably, I would like them to be able to enter information into fields, then click a submit button. This would start a process of using information in the fields to create the password. Is this possible?
 
If not, the second option would be to have the users manually type in the password each time they submit...I do not know how to accomplish this either.
 
Thank you for any help.
 
Regards,
 
Brett

My Product Information:
Acrobat Pro 8, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
You can password protect a PDF from JavaScript using a security policy, but you can't set the password. Only the user can set the policy password from the Acrobat UI.

You can however generate a digital certificates on the fly with JavaScript and use them to secure a PDF with encrypt for recipients.

Securing the PDF is something that can only be done in Acrobat Professional, and only from a privileged context, so you'll need to provide all of your users with folder level script.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

web_wolf
Registered: Jan 24 2008
Posts: 39
Thom,

I have a similar situation where I need the PDFs being sent via email need to be secure, but the users do not have Acrobat or Standard.

How would you generate a digital certificate on the fly using JavaScript so it's encrypted for the recipient (us) but not when viewed?

Website Designer - Lititz, PA