Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

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

Community Beginner ,
Apr 23, 2024 Apr 23, 2024

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?

449
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 26, 2024 Apr 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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 26, 2024 Apr 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. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 26, 2024 Apr 26, 2024
LATEST

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 PDFScripting
Use the Acrobat JavaScript Reference early and often

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines