Is it possible to access a DLL from a plugin?
I am trying to integrate hardware security to a pdf file. I am using a USB dongle which I normally use as a software piracy protect scheme. It works by linking a DLL to an application's source code, and checking that the dongle is plugged in before loading the application. Then you call the functions from the DLL and it authenticates that the USB dongle is attached, and that it is programmed with the correct codes. I'd like to create code which can add this functionality to pdf documents, as relying on a password for distributing a pdf file seems only mildly secure. If I can get it working the dongle would be a great way to create 2 factor authentication for pdf documents.
From some cursory research it is apparent that there is not a way to load DLL's using the standard Acrobat Javascript references. However, I see there is support for creating custom plugins. Before I sink a lot of time and research only to find out this wont work, I wanted to create a post to get some expert opinions. So, is what I am attempting possible? If you need any additional information to know for certain I can certainly provide it. Thanks!
