Article View: adobe.acrobat.sdk
Article #209Re: Encrypt PDF Files - Adobe Acrobat SDK
From: Galahad_Phillips
Date: Fri, 03 Apr 2009 18:01
Date: Fri, 03 Apr 2009 18:01
13 lines
1319 bytes
1319 bytes
So after more research, it looks like the only way to encrypt a PDF doc is by using the encryptForRecipients method noted on page 171. According to the documentation, this method encrypts the document using the public key certs of each recipient. So basically I have to use ADSI to connect to the directory containing user certs and encrypt the doc for a list of groups. Can I bypass the ADSI part and just specify a static location for the .cer file and then use the encryptForRecipients method? Also I'm using the ExecuteThisJavascript method of the Fields object from the AFormApp class. Does the ExecuteThisJavascript method run the js code against the PDF file? It seems I'm very close to getting this working.
Technical Details
Message-ID:
<59b879e2.8@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossingReferences:
<59b879e2.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: 10177e,296247912cdfb82 X-Google-Attributes: gid10177e,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Galahad_Phillips@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.acrobat.sdk Subject: Re: Encrypt PDF Files - Adobe Acrobat SDK Message-ID: <59b879e2.8@webcrossing.la2eafNXanI> Date: Fri, 3 Apr 2009 11:01:26 -0700 References: <59b879e2.-1@webcrossing.la2eafNXanI> Lines: 19 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit