1
Vote

Open Workbook Protected Excel 2007 Files

description

Hi,
 
Im interested if its possible to get an Excel 2007 with Workbook Protection turned on to be viewd in the explorer.
 
If workshhet protection is the infoamrion is in the XML but for Workbook protection the file seems to get encrypted. Has anyone anyinformation on this?
 
Would like to know of a way to provide the password for it to be decrypted into a state to unzip the file again for the XML.
 
Many Thanks
 
Gary Howlett

comments

Wouterv wrote May 20, 2007 at 6:56 PM

This might be possible but I believe the encryption technique is not open.

Wouterv wrote Aug 4, 2007 at 10:21 PM

This will not be available soon.

wrote Aug 4, 2007 at 10:21 PM

jlundstocholm wrote Nov 8, 2007 at 9:44 PM

Just to clarify:

The encryption technique is actually open - it is just not documented very well and by design left outside of the spec, A password-protected OOXML-file is saved as (when using MS Office) a Compound File and encrypted using the MS Office Crypto API. If you are using the Packaging API in System.IO.Packaging (.Net 3.0) you can use the System.IO.Packaging.EncryptedPackageEnvelope class to manipulate the password protected files.

wrote Feb 14, 2013 at 2:56 AM