Copy link to clipboard
Copied
I am developing a 3rd party plugin. Since I need write access to the file system and I do not want to switch off the protected mode I added a policy for my plugin.
When starting Acrobat, the log files of Adobe Acrobat Protected Mode Logging says:
Custom policy file sanity checks failed: C:\Program Files\Adobe\Acrobat DC\Acrobat\MyPlugIn_policyconfigfile.txt
When I add the "standard" policy file ProtectedModeWhitelistConfig.txt everything is fine. The logging says:
Found custom policy file: C:\Program Files\Adobe\Acrobat DC\Acrobat\ProtectedModeWhitelistConfig.txt
Adding custom policy: FILES_ALLOW_ANY = d:\MyPlugInFiles\*
It makes no difference if MyPlugIn_policyconfigfile.txt even exists or is empty. The error message remains the same. It can't be a syntax issue either, since the same policy works fine in ProtectedModeWhitelistConfig.txt.
I also checked the read access to MyPlugIn_policyconfigfile.txt which is ok.
Did I overlook an additional switch to enable 3rd party plugins?
Copy link to clipboard
Copied
A plug-in has limited access to the file system when Acrobat is in Protected mode. For example, the plug-in can access the Acrobat User area, i.e., /users/<user>/appdata/roaming/Adobe/Acrobat/DC/
But if it is necessary to gain access to other areas a Broker is necessary. The policy files won't do it.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now