Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. XML / XSL
  4. Encrypting and decrypting xml files

Encrypting and decrypting xml files

Scheduled Pinned Locked Moved XML / XSL
databasevisual-studioxmlquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    steve_rm
    wrote on last edited by
    #1

    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

    S 1 Reply Last reply
    0
    • S steve_rm

      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

      S Offline
      S Offline
      Scott Dorman
      wrote on last edited by
      #2

      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]

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups