Unable to load 3rd party adobe acrobat Plugin in protected mode.
Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Use the Acrobat JavaScript Reference early and often

