Forum Academy Marketplace Showcase Pricing Features

Encrypted File Detection

Hello!

I’m working on an app that deals a lot with gathering documents (mostly PDFs) from users. I would like to be able to detect if a file is encrypted/password protected when the user uploads it. Does anyone know of a good way to do this?

What is the use-case? What do you do after documents are uploaded?