4 ms·
So why does adobe reader allow for the execution of javascript from pdf files?
by harshpotatoes 16y ago
So why does adobe reader allow for the execution of javascript from pdf files?
- datasink 16y agohttp://www.adobe.com/devnet/acrobat/pdfs/js_developer_guide.pdf http://www.adobe.com/devnet/acrobat/pdfs/js_developer_guide.... It looks like the major use case is adding functionality to interactive forms. For example, you could create a PDF that allows you to submit to a SOAP service upon clicking a submit button. You can also apparently interact with database services using ODBC on Windows. Why you would opt for this vs. a web form, given that both approaches would require a coder, I really can't imagine.
- harshpotatoes 16y agoAh, I thought it might be for the forms. Still... it seems a little extreme to have fully executable code in a file which is only being read. :sigh: if only pdfs weren't so scary.