Identify password protected PDFs

Post Reply
User avatar
gabrielp
Advanced member
Posts: 577
Joined: Fri Aug 08, 2014 4:31 pm
Location: Boston
Contact:

Identify password protected PDFs

Post by gabrielp »

Hey guys,
I have some issues processing jobs with Photoshop, where a PDF cannot be opened because it has a password. The issue is, it disables the configurator and then nothing can process through that path. Is there any way to test for protected PDFs so I can route them differently?
Chat: open-automation @ gitter
Code: open-automation & dominickp @ GitHub
Tools: Switch, Pitstop, EPMS, Veracore, PageDNA, SmartStream, Metrix
User avatar
gabrielp
Advanced member
Posts: 577
Joined: Fri Aug 08, 2014 4:31 pm
Location: Boston
Contact:

Re: Identify password protected PDFs

Post by gabrielp »

Per Kent on LinkedIn, Stats.SecurityMethod is what I was looking for.
Chat: open-automation @ gitter
Code: open-automation & dominickp @ GitHub
Tools: Switch, Pitstop, EPMS, Veracore, PageDNA, SmartStream, Metrix
Post Reply