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

Programmatically set passwords on PDF files

erovich
Registered: Sep 21 2009
Posts: 2

Hi,
I'm totally new to Acrobat development and looking for ways to set document passwords from a .NET or a Windows application. Is there a way to do that? Can I use the ActiveX control? Is there sample code or API reference?
Thanks a lot.

My Product Information:
Reader 6.0, Windows
jimmyhuang98
Registered: Apr 24 2010
Posts: 11
Hi erovich

Have you found a way to do that with .NET? I'm also looking for way to set password programatically, even though I can do this with a batch process

Also, more importantly, I'm looking for a way to open a password protected pdf file without prompting for the password using .NET, if you know any info, please let me know, thanks a lot!

Regards
Jimmy
pauliemc
Registered: Jan 6 2011
Posts: 1
Jimmy

iTextSharp will allow you to programmatically set passwords on PDFs very easily.
Did you ever find a way to pass to the password to a PDF when opening it? I currently have this problem