Link to home
Start Free TrialLog in
Avatar of bejhan
bejhan

asked on

Password protect PDF

I just finished converting an MS Access 2003 application to MS Access 2010.
In the 2003 version I was outputting reports to PDF using Leban's ReportToPDF module (http://www.lebans.com/reporttopdf.htm). This was a bit of a pain due to the two DLL files required to be in the application folder so I decided to use DoCmd.OutputTo since PDF output is now supported. However, I have a requirement to password protect PDF files and there was no apparent way to do so other than Leban's ReportToPDF (see question https://www.experts-exchange.com/questions/27499754/Password-protect-PDF.html).  

So I stuck with Leban's ReportToPDF. Unfortunately, during testing I found the the bottom of reports were being cutoff. After some investigation I found that Leban's solution no longer works due to the report snapshot feature being removed in MS Access 2010.

I still need a way to password protect PDF files. Seeing as the Adobe Acrobat SDK does not expose the API needed to do so, I am at a loss. Any help would be greatly appreciated!
Avatar of Nick67
Nick67
Flag of Canada image

There is a good thread here
http://forums.adobe.com/thread/302519
Although this one has similar syntax
http://www.justskins.com/forums/need-javascript-vb-code-116656.html
But says password protecting it is not possible
ASKER CERTIFIED SOLUTION
Avatar of bejhan
bejhan

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 bejhan
bejhan

ASKER

No good solution. Seems like calling a command line utility is the only way.