Microsoft InfoPath 2010
The official blog of the Microsoft InfoPath team

Encrypting and Decrypting InfoPath Form Data

Encrypting and Decrypting InfoPath Form Data

  • Comments 2

This question comes up frequently:

Can I encrypt the XML data coming out of InfoPath?

The answer is "yes!", and there is a wonderful article on MSDN that explains just how to do it, titled Extending the Save Functionality in InfoPath 2003. The article covers a lot of ground, and includes managed code samples showing how to perform data encryption during OnSaveRequest and decryption during OnLoad. Similar code can be used during OnSubmitRequest to encrypt the data before sending it out over the wire.

Leave a Comment
  • Please add 6 and 8 and type the answer here:
  • Post
  • Do you know if there are better features in Infopath Forms 2010 for encrypting the whole form? Also, any way set permission so that it is only visible to certain individuals.

    The above solution was for InfoPath 2003. In last 7 years, I am sure Microsoft though about smarter and better security features for InfdoPath Forms and Sharepoint. Security is basic requirements for most (if not all) of the forms.

  • Is there a way of hiding the url of an infopath form in browser

Page 1 of 1 (2 items)