You are viewing limited content. For full access, please sign in.

Question

Question

DCC & Password Protected PDFs

asked on June 8, 2023

Can the latest version of DCC (11) detect password protected PDFs automatically and skip them? Currently we have an SDK script to check/tag them so they are excluded but it takes a while to run. If we can skip this step it'll save time for us.

Thanks,

Nigel.

0 0

Replies

replied on June 8, 2023

I imagine the DCC would just throw an error for password-protected files.

Instead of an SDK script, I usually include a PDF Metadata activity in workflow that just tries to read the file name; it will throw an error if the PDF is password protected or corrupt/unreadable since that activity tries to access the content.

You can stick that inside of a try-catch and use tokens, tags, etc., to track that the PDF was unreadable then change your routing accordingly.




2 0
replied on May 28, 2024

From my own testing with this, DCC just seems to hang when it encounters a password protected PDF. Is there an official line from Laserfiche on this if DCC can handle password protected PDF's or is it expected that it will just stall/hang if it encounters one?

1 0
replied on July 3, 2024

It would be helpful to get an official response from LF on this please.

2 0
replied on April 28

I've also encountered this (last week, most recently) and would love to know if DCC can be set up to skip password-protected PDFs or deal with them in some way.

The team I'm working with at the moment has ~40k PDFs that I migrated in assuming I could OCR them after import, and now am discovering that there are password-protected PDFs sprinkled throughout so the WF I had set up to run through DCC did not process them appropriately.

0 0
replied on April 28

DCC does not (yet) handle password protected PDFs so an SDK script or method Jason describes would be the best option. I've found the SDK script option to be a little quicker but I think both methods can fail on certain PDFs due to the encryption used. In those cases I tag the PDF as having been attempted to be OCRd and excluded from future searches/DCC.

3 0
You are not allowed to follow up in this post.

Sign in to reply to this post.