Copy link to clipboard
Copied
Adobe SDK provides JavaScript, C/C++ Plugin and InterAppCommunication options. I am not sure what is the best way to go to support a use case:
whenever a user open the PDF file by a Adobe Reader, it will ask the user to authenticate to a remote server, if it is successful, the PDF will be opened, if failed, the reader will be closed.
Copy link to clipboard
Copied
I assume your authentication is going to be saved on a server somewhere. You should have a read at (well many but) some specific subjects on connecting to a database and executing queries. Information on how to use forms (data) is also here, as well as a ton more. Pages 188-191 should be of interest to you establishing a ADBC connection and executing SQL through it, here:
https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/js_developer_guide.pdf