Click here to Skip to main content
15,917,456 members
Home / Discussions / C#
   

C#

 
GeneralRe: File (XmlDocument) Encryption / Decryption improvements Pin
DaveyM696-Dec-07 9:03
professionalDaveyM696-Dec-07 9:03 
GeneralRe: File (XmlDocument) Encryption / Decryption improvements Pin
Ennis Ray Lynch, Jr.6-Dec-07 9:12
Ennis Ray Lynch, Jr.6-Dec-07 9:12 
GeneralRe: File (XmlDocument) Encryption / Decryption improvements Pin
DaveyM696-Dec-07 9:23
professionalDaveyM696-Dec-07 9:23 
GeneralRe: File (XmlDocument) Encryption / Decryption improvements Pin
led mike6-Dec-07 9:49
led mike6-Dec-07 9:49 
GeneralRe: File (XmlDocument) Encryption / Decryption improvements Pin
DaveyM696-Dec-07 11:39
professionalDaveyM696-Dec-07 11:39 
GeneralRe: File (XmlDocument) Encryption / Decryption improvements Pin
Skippums7-Dec-07 5:36
Skippums7-Dec-07 5:36 
GeneralRe: File (XmlDocument) Encryption / Decryption improvements Pin
DaveyM699-Dec-07 23:43
professionalDaveyM699-Dec-07 23:43 
GeneralRe: File (XmlDocument) Encryption / Decryption improvements Pin
Skippums10-Dec-07 4:34
Skippums10-Dec-07 4:34 
OK, this is an entirely incorrect way to go about this. You should NEVER require the users to know the key to encrypt/decrypt data. This leads to software upgrade nightmares, as key management is nearly impossible. What you should do is have a SINGLE web application (or a few for redundancy)that can get and decrypt the data, then return the decrypted data to the client (or re-encrypt it on the fly with a session key, if you want it to be secure). Hard-coding keys into client apps is a bad idea, as one key leak is detrimental to the entire system. On the other hand, with a single web app, changing the key after a known leak is easy, as you have control over both the data and the web app. Just a suggestion, but if you do implement the web app method, you could make it run as a specific user, so again, you could encrypt/decrypt on a user level, which alleviates you from having to manage the crypto key, as explained in earlier posts. Hope this helps,


-Jeff

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 
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 

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.