How to password protect pdf.

New Here ,
May 09, 2019

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

TOPICS
Acrobat SDK and JavaScript

Views

474

Likes

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

How to password protect pdf.

New Here ,
May 09, 2019

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

TOPICS
Acrobat SDK and JavaScript

Views

475

Likes

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
May 09, 2019 0
Most Valuable Participant ,
May 10, 2019

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.

Likes

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
Reply
Loading...
May 10, 2019 0
Adobe Community Professional ,
May 10, 2019

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.

Likes

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
Reply
Loading...
May 10, 2019 1
Adobe Community Professional ,
May 10, 2019

Copy link to clipboard

Copied

You can batch secure PDF files using the Encrypt Action in the Action Wizard. 

Likes

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
Reply
Loading...
May 10, 2019 1