Digitally sign MS Office files

Digitally sign MS Office files

Secure Home | Search | About
 Microsoft Applications Security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content add this group's latest topics to your Google content
Subject Author Date
Digitally sign MS Office files Joao Maia 10-19-2006
Posted by Joao Maia on October 19, 2006, 5:30 am
If you were  Registered and logged in, you could reply and use other advanced thread options
Hi there,

I am developing a component to digitally sign files, and I need some
help with MS Office files. What I want to do is programatically (using
.NET plaftorm 1.1) sign MS Office files (Word, Excel, Powerpoint) given
a X509 Certificate.

I have an X509Certificate object (or a PKCS#12 pfx file with a
certificate) and I want to pass it to some method that will use it to
sign the .doc, .xls, or .ppt (and embed the signature on the file as if
I would have signed it from wihtin the program itself). I know that on
the MS Word object model there is an ActiveDocument.Signatures.Add()
method, but that method will pop up the window for the user to select
the certificate he wants to use. Since I do the certificate selection
bit beforehand, I have no need for that window to appear. Instead I
would like to pass the certificate object that I already have to the
method.... Is there any way to do this on the Word (or Office) object
model ?

I have been able to do this with Adobe pdf files, by using a third
party library called itextsharp, but I haven't been able to find out
any library like this for MS Office files. If it can't be done using
the MS Office object model, but there is any third-party component that
does this (even if I have to pay for it), please let me know about it.
I'm really desperate... :(

Thanks.

Cheers from Portugal,

Joao Maia


Similar ThreadsPosted
Digitally sign MS Office files October 19, 2006, 5:30 am
Digitally sign MS Office files October 19, 2006, 5:30 am
CAPICOM: Is it possible to sign multiple files... August 22, 2005, 12:48 pm
Secure Office Files on Servers December 8, 2005, 9:58 pm
Sign in and sign out for multiple account users February 9, 2006, 3:32 pm
How can digitally signed executable be "secure" ? May 24, 2006, 3:55 pm
Digitally signing GIFs, JPEGs, etc. October 29, 2007, 12:22 pm
Why are programs not digitally signed to protect against viruses? June 28, 2005, 1:58 pm
Deploying patches that work with digitally signed .NET assemblies November 29, 2005, 6:27 pm
msn sign in security July 1, 2005, 11:32 am

The site map in XML format XML site map

Contact Us | Privacy Policy