views:

41

answers:

1

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
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
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
Please elaborate more about that TrueCrypt thing.Besides, what would be called a 'large' file that I have to consider partial loading?
Shimmy
www.truecrypt.org - it is a software to create secret encrypted files, that can be mounted as disks into Windows.
FractalizeR