Encrypting and decrypting xml files
-
Hello, VS 2005 I am creating a PDA application that will get data from a database and display the data to the user. When the user has finished using the application, I want to save the changes from the dataset to an xml file using the datasets read and write xml methods. However, as the xml files are left on the PDA, any one could open them and view the contents of the data that has been saved. Which is the best method to quickly encrypt the xml and decrypt it? Many thanks, Steve
-
Hello, VS 2005 I am creating a PDA application that will get data from a database and display the data to the user. When the user has finished using the application, I want to save the changes from the dataset to an xml file using the datasets read and write xml methods. However, as the xml files are left on the PDA, any one could open them and view the contents of the data that has been saved. Which is the best method to quickly encrypt the xml and decrypt it? Many thanks, Steve
There are encryption classes in .NET and also support in the Xml namespace for encrypting/signing XML. There isn't necessarily a "best method", it all depends on what you want and how you want it to work.
Scott.
—In just two days, tomorrow will be yesterday. [Forum Guidelines] [Articles] [Blog]