Copy link to clipboard
Copied
Hi team,
I am trying to create a program which can add password to PDF file.
Can you guide me to to add password using SDK?
regards,
Rajat
Copy link to clipboard
Copied
You would have to write a plugin for Acrobat Pro (not the free Reader) using C++. You cannot use VB or C# or write an app.
Copy link to clipboard
Copied
Well Actually, you can create a Security Profile that uses a password. Then use JavaScript or the IAC to get Acrobat to apply that profile to a PDF. What you can't do is change the password with a script or IAC. At least not directly. To change the password you need a plug-in, as noted.
However, you could use a combination plug-in/JavaScript to create a more general password setting methodology.
The C++ SDK contains examples of setting a password in the Snippets.
Copy link to clipboard
Copied
You can batch secure PDF files using the Encrypt Action in the Action Wizard.