Checking password protected file

Sep 15, 2009 at 4:00am
How can we check the file is password protected file or not. File can be office 2003 or office 2007 or pdf or archives.
Sep 15, 2009 at 10:38am
You're mixing up (at least) four completely different formats. Why do you need to do this?
Sep 15, 2009 at 11:28am
I want to check all type of files which are password protected in a given drive. My application will list all the files which are password protected. I don't think there's generic soultion to this but type wise it should have some mechanism to check.
Sep 15, 2009 at 12:04pm
First you'll need to better define your objective. Decide carefully what formats you want to search. For example, "archive" is too broad: ZIP, 7z, RAR, ARC, ACE, ar, and I could go on.

After that, just research each format and find interfaces so you can check whether a file is encrypted or not.
Topic archived. No new replies allowed.