Click here to Skip to main content
15,893,564 members
Home / Discussions / C#
   

C#

 
GeneralRe: File (XmlDocument) Encryption / Decryption improvements Pin
DaveyM6910-Dec-07 5:08
professionalDaveyM6910-Dec-07 5:08 
GeneralRe: File (XmlDocument) Encryption / Decryption improvements Pin
Skippums10-Dec-07 5:58
Skippums10-Dec-07 5:58 
GeneralRe: File (XmlDocument) Encryption / Decryption improvements Pin
DaveyM6910-Dec-07 10:02
professionalDaveyM6910-Dec-07 10:02 
GeneralRe: File (XmlDocument) Encryption / Decryption improvements Pin
Skippums6-Dec-07 9:16
Skippums6-Dec-07 9:16 
GeneralRe: File (XmlDocument) Encryption / Decryption improvements Pin
Ennis Ray Lynch, Jr.6-Dec-07 9:19
Ennis Ray Lynch, Jr.6-Dec-07 9:19 
GeneralRe: File (XmlDocument) Encryption / Decryption improvements Pin
Skippums6-Dec-07 9:56
Skippums6-Dec-07 9:56 
GeneralRe: File (XmlDocument) Encryption / Decryption improvements Pin
DaveyM696-Dec-07 11:18
professionalDaveyM696-Dec-07 11:18 
GeneralRe: File (XmlDocument) Encryption / Decryption improvements Pin
ekynox6-Dec-07 9:24
ekynox6-Dec-07 9:24 
G'day,

A little while back I ran into a similar problem of storing data in a XML file which needs to be encrypted/decrypted as required. I found that using the Cryptography Application Block from Enterprise Library very useful. Purely because I could generate the symmetric key file specific to the user's credential's or machine config. Also you need to consider what happens to the encrypted/decrypted data memory once you have finished with it as well.

I can post some code if you are unfamiliar with the Cryptography Application Block.

To lock a file during Read/Write there is a class within .net that allows you do it. It escapes my mind right now.

cheers,
V
GeneralRe: File (XmlDocument) Encryption / Decryption improvements Pin
DaveyM696-Dec-07 11:19
professionalDaveyM696-Dec-07 11:19 
GeneralDatabinding not updating Business Object property Pin
Bert delaVega6-Dec-07 7:32
Bert delaVega6-Dec-07 7:32 
GeneralRe: Databinding not updating Business Object property Pin
darkelv6-Dec-07 16:36
darkelv6-Dec-07 16:36 
GeneralRe: Databinding not updating Business Object property Pin
Bert delaVega7-Dec-07 11:04
Bert delaVega7-Dec-07 11:04 
GeneralLINQ Question Pin
martin_hughes6-Dec-07 7:10
martin_hughes6-Dec-07 7:10 
GeneralRe: LINQ Question Pin
DaveyM696-Dec-07 8:25
professionalDaveyM696-Dec-07 8:25 
GeneralRe: LINQ Question Pin
martin_hughes6-Dec-07 10:01
martin_hughes6-Dec-07 10:01 
GeneralRe: LINQ Question Pin
darkelv6-Dec-07 14:25
darkelv6-Dec-07 14:25 
General*shakes fist at board* Pin
darkelv6-Dec-07 14:49
darkelv6-Dec-07 14:49 
GeneralResolving a domain name to IP address Pin
Skippums6-Dec-07 7:08
Skippums6-Dec-07 7:08 
GeneralRe: Resolving a domain name to IP address Pin
Bert delaVega6-Dec-07 8:28
Bert delaVega6-Dec-07 8:28 
GeneralRe: Resolving a domain name to IP address Pin
Skippums6-Dec-07 8:54
Skippums6-Dec-07 8:54 
GeneralRe: Resolving a domain name to IP address Pin
Bert delaVega6-Dec-07 9:11
Bert delaVega6-Dec-07 9:11 
GeneralRe: Resolving a domain name to IP address Pin
Skippums6-Dec-07 10:00
Skippums6-Dec-07 10:00 
Generalformatting double value to string does not work as expected. Pin
CTaylor896-Dec-07 6:59
CTaylor896-Dec-07 6:59 
GeneralRe: formatting double value to string does not work as expected. Pin
Skippums6-Dec-07 7:31
Skippums6-Dec-07 7:31 
GeneralCheck State Pin
RussBus6-Dec-07 6:53
RussBus6-Dec-07 6:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.