Skip to main content
Participant
Nov 7, 2018 9:58 AM UTC
Answered

Apply password to PDF file using VBA

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 is closed to new replies. Start a new post to keep the conversation going.
lrosenth
lrosenthCorrect answer
Adobe Employee
Nov 7, 2018 12:37 PM UTC

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

3 replies

lrosenth
Adobe Employee
lrosenthCorrect answer
Adobe Employee
Nov 7, 2018 12:37 PM UTC

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

Translate
siew2018Author
Participant
Nov 7, 2018 12:54 PM UTC

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

Translate
Legend
Nov 7, 2018 2:15 PM UTC

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.

Translate