Link to home
Start Free TrialLog in
Avatar of vrkorada
vrkorada

asked on

protecting pdf files with user / owner passwords ?

Hi,
Is it possible to protect pdf files (NOT ps files) with user / owner passwords programmatically?
Any links to API / source code would be helpful.
I am using Acrobat 7.0 full version and I have SDK also.
A solution in VB/VBA would be preferable.

Where can I get the help regarding PDFMAKERAPILib API?

Advance Thanks and regards,

Korada
ASKER CERTIFIED SOLUTION
Avatar of Karl Heinz Kremer
Karl Heinz Kremer
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of vrkorada
vrkorada

ASKER

Presently I am using pdftoolkit only. But I am looking for an API so that I can use it in VBA and .NET applications.
The problem with running pdftoolkit as shell command is that we do not have any control on the job progress. In my applications I want to remove the unprotected source pdf file after setting the password using pdftoolkit. This is creating problems some times.

Thanks,
Ramana
Have you looked at the activePDF Toolkit (I provided a link in my first response)?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The problem with the "normal" version of iText is that it's a Java library, and can therefore not be used from within a VB or .NET application. However, the whole library was ported to .NET: http://www.ujihara.jp/iTextdotNET/en/