How to encrypt the output XML file on submit ?

G

Greg

Hallo,
I need to create an InfoPath form that will encrypt itself on the save or
submit event, so that it can't be read in a text editor by unauthorised
persons.
The encrypted file should be protected with a password that must be entered
when someone wants to open the form.
I think C# with JScript is a good idea here, but the customer wants all the
code in the XSN file. Is it possible ? Doesn't .NET code create a DLL which
has
to be deployed together with the XSN file ?
I'd be grateful for help,
best regards,
Greg.
 
F

Franck Dauché

Hi Greg,

You could use C# behind the form to generate an encrypted file (from your
DOM). The dll generated when using the .Net toolkit for InfoPath would be
embedded inside your xsn (no extra dll to deploy). The only requirement for
your users is to have the .Net framework installed.

Regards,

Franck Dauché
 
C

Chris

Dear Franck,
I have installed the .Net Toolkit from the web , but I still not know how to
do it with using .Net toolkit ? is any DLL I can use for encrypt the xml file
provided from the toolkit ? what is it ? I have go through all the
documentation and can't find it. Any suggestion ? or you means just adding
the encryption coding in C# ?

Thanks
chris
 
Top