Infopath Security - Certificates
Seems like creating a certificate for your managed code will be the way to go. I'm retracing my steps and will document the process here. Note that I'm using VS2005 and Infopath 2003 sp2:
- MSDN Article
- Certmgr in C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin
- One tool for visualizing your certificates.
- Certificate Management Console
- This is a more comprehensive tool for managing certificates.
- Infopath requires (it seems) your certificate to be in the Personal section.
- Keep it secret, keep it safe. Really. Once you create your key and start deploying signed documents that use it, you MUST have a safe and secure location to store it.
- Export the key, put it on a cd and lock it up.
- If you want to develop on another machine, you'll need to install this key. You cannot simply recreate a key with the same name. Keep it safe.
- As an example using Infopath and a Sharepoint Forms lib:
- You publish an IP form with your new cert.
- Users create forms (they accept the certificate), and save the forms.
- You lose the cert, and create a new one.
- You republish the form with the new certificate.
- A new user tries to open an old form, created with the old certificate. At best, you've got a confusing situation, since you now have two certificates with the same name, but different keys. One doc uses the old, another uses the new.
0 Comments:
Post a Comment
<< Home