Skip to main content
Participant
November 7, 2018
Answered

Apply password to PDF file using VBA

  • November 7, 2018
  • 1 reply
  • 2129 views

I would like to apply simple password to a PDF that's created using VBA. Can this be done using Adobe SDK?

Anyone has sample code to share? Thanks heaps .

[Question moved to the Acrobat SDK forum. -Mod]

This topic has been closed for replies.
Correct answer lrosenth

No, it cannot, as allowing the password across an insecure channel would not be a good idea.

1 reply

lrosenth
Adobe Employee
lrosenthCorrect answer
Adobe Employee
November 7, 2018

No, it cannot, as allowing the password across an insecure channel would not be a good idea.

siew2018Author
Participant
November 7, 2018

What about encrypt the pdf file with password? Any sample code to share? Thanks in advance!

Legend
November 7, 2018

That's the same thing: setting a password is encrypting with a password. Still no.

If you are a C++ programmer you might be able to create a plug-in that does this.