Skip to main content
Participating Frequently
April 23, 2024
Question

Unable to load 3rd party adobe acrobat Plugin in protected mode.

  • April 23, 2024
  • 1 reply
  • 715 views

I have written an Adobe Acrobat plugin using Adobe SDK which helps me to modify PDF. It runs perfectly well when protected mode is turned off. However, as soon as I turn protected mode on, my DLL is not recognised and doesnt even load. Am I missing something here? What should I include in my DLL so that it gets recognised and loads up in protected mode too?

This topic has been closed for replies.

1 reply

Abambo
Adobe Expert
April 26, 2024

Is there no indication for this in the SDK documentation? I suppose that the DLL needs to be included somewhere in a trusted extensions list.

 

But as I'm not an extensions programmer, I can't help further. I will just move this to the Acrobat SDK forum, that looks to me more appropriate for your question.

ABAMBO | Hard- and Software Engineer | Photographer
Participating Frequently
April 26, 2024

HI Abambo,
Thanks for the reply. To update this, I was able to load DLL , but I am unable to make any api calls through my plugin. I modified some policies even, but still it is unable to make api calls, where as If I disable protected mode, it works fine. 

 Running them , I just receive an error stating : 
Code:  await PostAsync<T>(url, body);

An error occurred while sending the request.
Inner Exception : The underlying connection was closed: An unexpected error occurred on a receive. 

I found that adobe is able to make its own internet calls smoothly, Like check for upgrades and all. Is there any way where I can modify Adobe, so that it loads my sites. I tried adding in Trusted Manager and changed allow pdf files to access websites. 

Thanks in Advance. 

Thom Parker
Adobe Expert
April 26, 2024

Have you read this article?

https://www.adobe.com/devnet-docs/acrobatetk/tools/AppSec/sandboxprotections.html

 

You'll find an example Broker plugin in the SDK download.

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often