Skip to main content
Participant
June 12, 2020
Question

Remove executable code from PDF

  • June 12, 2020
  • 1 reply
  • 11029 views

Hi there, I have a series of pdf files that I need a way to figure out if there is executable code inside the files.  Do you know of a good method to do this on a batch level?

1 reply

JR Boulay
Community Expert
Community Expert
June 12, 2020

You can use the Preflight tool or the PDF Optimiser (Save as Other).

 

Acrobate du PDF, InDesigner et Photoshopographe
gfbgfhyAuthor
Participant
June 12, 2020

Hmm the pdf is still being rejected.  Is there a way to extract the contents that show the code?

gfbgfhyAuthor
Participant
June 12, 2020

The entire thing is pointless unless you know what they mean by "executable code". It's obviously not what we mean, or the methods described above would have taken care of it already.


But wouldn't there be a static piece of content that i can parse out from a batch process? executable code must be limited to links, headers info. Something i just can't be my finger on it.