Skip to main content
Participant
October 3, 2024
Question

Security privileged locations not refreshing when re-opening acrobat

  • October 3, 2024
  • 2 replies
  • 567 views

I am creating some custom javascript buttons for our internal workflow, and finally determined that when you close acrobat it does not remember the priviledged locations

For example I created an import file c:\tmp\import.txt

The script works if I add this file to the privleged (Preferences->Security enhances and add the file) for that session.

If I CLOSE Acrobat and reload.. "Access Denied"  unless I [REMOVE and ADD] the same file in there in that then it works perfectly... 

Please Help!  This seems like a huge bug...  Thank You.

 

This topic has been closed for replies.

2 replies

PDF Automation Station
Community Expert
Community Expert
October 3, 2024

At the top of that Window, is Enable protected mode at startup checked?

Participant
October 3, 2024

Yes it is checked.

PDF Automation Station
Community Expert
Community Expert
October 3, 2024

You have to uncheck it and restart Acrobat if you want to access files.

Thom Parker
Community Expert
Community Expert
October 3, 2024

Are you using a trusted function for the code that does the importing?

 

https://www.pdfscripting.com/public/Using-Trusted-Functions.cfm

 

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Participant
October 3, 2024

Yes I am.. And everything works only if I re-add the trusted input file in the priviledged security settings just if I close acrobat it will not.