QPdfNet icon indicating copy to clipboard operation
QPdfNet copied to clipboard

Detect JavaScript in a PDF

Open amitjaura opened this issue 1 year ago • 0 comments

Hi,

I want to implement security in our application for upload files. My requirement is to detect if there're any javascripts in pdf file. I was wondering if QPdfNet has any function for this.

With command line tool we can use

qpdf –json yourfile.pdf | grep -i javascript

amitjaura avatar Mar 12 '25 01:03 amitjaura