🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.acrobat.sdk
Article #16

Re: Encrypt PDF Files - Adobe Acrobat SDK

#16
From: Galahad_Phillips
Date: Fri, 03 Apr 2009 18:26
10 lines
1036 bytes
As I'm trying to get this code working I decided to start out slow w/ just one line of js code:

jsCode.Append("var sh = security.getHandler('Adobe.PPKMS');" + Environment.NewLine);

After the code is executed in my Win Form, the file opens and see the following error in the script debugger:

NotAllowedError: Security settings prevent access to this property or method.
Security.getHandler:1:External undefined:Exec

Any ideas on this one?
Technical Details
Message-ID: <59b879e2.9@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
References: <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.9@webcrossing.la2eafNXanI>
Date: Fri, 3 Apr 2009 11:26:39 -0700
References: <59b879e2.-1@webcrossing.la2eafNXanI>
Lines: 14
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit