Need more help with Acrobat DC?

Find tips and tutorials at Acrobat Support.

Trust and privilege in Acrobat scripts

Learn about the various security mechanisms that relate to Acrobat JavaScript and how to create trusted environments.

By June 11, 2015

 

Have you ever run a script that reported a “NotAllowedErrorr: Security settings prevent access to this property or method.”? This can be very frustrating, but in order to keep Acrobat safe from malicious hacking, Adobe has locked it up pretty tight, and this is especially true for scripting. Acrobat simply will not allow some JavaScript operations to be run from “un-trusted” code. But of course, it is precisely the types of operations that that may pose a risk that are the most useful for automating processes and other advanced scripting tasks. This article explains the various security mechanisms that relate to Acrobat JavaScript and shows how to create trusted environments for running code that Acrobat would not normally allow.


Did you know?

  • You can ask a question and get an answer from one of our experts.
  • You can search our database of over 800 tutorials by product and/or topic.
  • You can leave a comment below for the author of this tutorial.

Products covered:

Acrobat DC

Related topics:

JavaScript

Top Searches:

Edit PDF, create PDF, Action Wizard

0 comments

Comments for this tutorial are now closed.

Comments for this tutorial are now closed.