Quote Originally Posted by katy_price View Post
the above sounds good, how would i go about implementing that? the xml file will be saved in a database and i also have a schema. how would i decrypt it into memory? then override the old file? I am using the Cryptography.Xml namespace to encrypt and decrypt a xml element in my file with Asymmetric Keys.
Well, I would simply read the file (however you want) into a variable and then decrypt the data from there. This would leave the source file unchanged until you overwrite it.