How do I create/read/write XLinq and/or VB XML Literals from and to encrypted xml files?
+3
A:
You just load XML to memory, decrypt it and then do whatever you like. There is no way of direct manipulation of already encrypted XML without prior decryption because this just negates encryption at all.
FractalizeR
2009-12-28 21:21:42
Sound good to me.Any technical advice will be really appreciated.Also, what about when (I don't, but if I will) I have large files, should this be the same behavior?
Shimmy
2009-12-29 00:02:54
LINQ cannot operate on incomplete or lazy-loaded XML files. So, in any case you will have to load a file to memory and decrypt it before. If you will find some way for LINQ to operate on files only partially loaded into memory, then you can consider using TrueCrypt for example to place unencrypted files into encrypted storage container
FractalizeR
2009-12-29 09:52:09
Please elaborate more about that TrueCrypt thing.Besides, what would be called a 'large' file that I have to consider partial loading?
Shimmy
2010-01-03 02:20:25
www.truecrypt.org - it is a software to create secret encrypted files, that can be mounted as disks into Windows.
FractalizeR
2010-01-04 12:08:51