Encrypt XML data file

C

Chris

Hi ! I want to encrypt the XML data file ( update by infopath) as I need to
transfer this file through internet ( or email ) . Can I do it ? how to do it
?

Chris
 
S

S.Y.M. Wong-A-Ton

You can encrypt the XML data file, but you'll have to do it outside of
InfoPath. InfoPath does not provide anything for this. To encrypt the file
you'll have to use either symmetric or asymmetric encryption before sending
it off. Symmetric encryption can be implemented using a password and
asymmetric using digital certificates. Post your question in one of the .NET
security newsgroups
(http://msdn.microsoft.com/newsgroups/default.aspx?dg=microsoft.public.dotnet.security&lang=en&cr=US
or
http://msdn.microsoft.com/newsgroup...otnet.framework.aspnet.security&lang=en&cr=US).
Do not mention InfoPath (since they'll send you back here); just say that you
want to encrypt an XML file to send it over the wire and ask how to do this.

I once wrote an article on how to create self-contained password-protected
InfoPath forms (see
http://aspalliance.com/784_PasswordProtecting_Sensitive_InfoPath_Form_Fields).
Here encryption is implemented within the forms themselves using symmetric
encryption. You would have to modify the solution a bit for it to work, but
that's just another option you could consider.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top