Click here to Skip to main content
16,008,010 members
Home / Discussions / C#
   

C#

 
GeneralRe: TreeView Pin
sinosoidal19-Mar-07 0:37
sinosoidal19-Mar-07 0:37 
AnswerRe: TreeView Pin
sinosoidal19-Mar-07 0:49
sinosoidal19-Mar-07 0:49 
GeneralRe: TreeView Pin
joon vh.19-Mar-07 1:15
joon vh.19-Mar-07 1:15 
GeneralRe: TreeView Pin
sinosoidal19-Mar-07 5:12
sinosoidal19-Mar-07 5:12 
GeneralRe: TreeView Pin
joon vh.19-Mar-07 5:31
joon vh.19-Mar-07 5:31 
QuestionHow to store sensitive data? Pin
Akiratf19-Mar-07 0:20
Akiratf19-Mar-07 0:20 
AnswerRe: How to store sensitive data? Pin
joon vh.19-Mar-07 1:06
joon vh.19-Mar-07 1:06 
AnswerRe: How to store sensitive data? Pin
m@u19-Mar-07 4:21
m@u19-Mar-07 4:21 
Hi
I don't think you have many more options than save the password in an encrypted file with a keyfile that lies around on you pc, because if you want to read encrypted data, you need to know how to decrypt it.
the way i understand it, outlook does the same.. there's probably a file on your hd with the encrypted user - data in it.
you know, the local security is not the main problem here. the problem begins when you send password over the network to a server.


let's say you have a pc with your e-mail passwords saved on and you log on to your mailserver. your e-mail - client does the following:
it connects to the pop-server and says:
user someone@somedomain.org
pass 123456
the whole communication is in cleartext, so everyone can listen! and that's where security acutally IS imporant.
in e-mail (POP) you have 2 possibilities to solve that problem:
1. APOP works like this:
you connect to the pop server and say
apop someuser
the server answes something like:
+OK <1laksjjf23098234987sdj>@somedomain.org
now you take the text behind the +ok and add the password to it, calculate an md5 hash of it and send that to the server. then no one is able to read the password.

i'm not quite sure about the exact procedure of apop but it's well documented in the RFC 1939

2. possibility is to use securePOP (ssl)
just connect to the pop-server over the securePOP - Port with an ssl stream and use the normal pop - commands.

so. short said:

don't do security at the wrong place. it's ok when you encrypt files locally but if YOU can read a file that is locally saved on your pc, anyone, who has physical access to your pc can. security mostly is a network - Problem. so, whenever possible use either secure connections (ssl, ...), or use authentication - methods that allow you to send only (password + salt) - hashes over the network.

greets
m@u
AnswerRe: How to store sensitive data? Pin
Vasudevan Deepak Kumar19-Mar-07 6:32
Vasudevan Deepak Kumar19-Mar-07 6:32 
AnswerRe: How to store sensitive data? Pin
Akiratf19-Mar-07 22:04
Akiratf19-Mar-07 22:04 
QuestionReading value from a variabile Pin
Andrei Ungureanu19-Mar-07 0:13
Andrei Ungureanu19-Mar-07 0:13 
AnswerRe: Reading value from a variabile Pin
Pete O'Hanlon19-Mar-07 0:17
mvePete O'Hanlon19-Mar-07 0:17 
GeneralRe: Reading value from a variabile Pin
Andrei Ungureanu19-Mar-07 0:30
Andrei Ungureanu19-Mar-07 0:30 
GeneralRe: Reading value from a variabile Pin
Colin Angus Mackay19-Mar-07 0:39
Colin Angus Mackay19-Mar-07 0:39 
GeneralRe: Reading value from a variabile Pin
Andrei Ungureanu19-Mar-07 0:47
Andrei Ungureanu19-Mar-07 0:47 
GeneralRe: Reading value from a variabile Pin
Pete O'Hanlon19-Mar-07 0:55
mvePete O'Hanlon19-Mar-07 0:55 
GeneralRe: Reading value from a variabile Pin
Colin Angus Mackay19-Mar-07 0:56
Colin Angus Mackay19-Mar-07 0:56 
GeneralRe: Reading value from a variabile Pin
Pete O'Hanlon19-Mar-07 1:01
mvePete O'Hanlon19-Mar-07 1:01 
GeneralRe: Reading value from a variabile Pin
Colin Angus Mackay19-Mar-07 0:55
Colin Angus Mackay19-Mar-07 0:55 
GeneralRe: Reading value from a variabile Pin
Andrei Ungureanu19-Mar-07 1:00
Andrei Ungureanu19-Mar-07 1:00 
AnswerRe: Reading value from a variabile Pin
Colin Angus Mackay19-Mar-07 0:37
Colin Angus Mackay19-Mar-07 0:37 
AnswerRe: Reading value from a variabile Pin
Ennis Ray Lynch, Jr.19-Mar-07 4:17
Ennis Ray Lynch, Jr.19-Mar-07 4:17 
QuestiondataGridView Pin
t_nedelchev18-Mar-07 23:26
t_nedelchev18-Mar-07 23:26 
AnswerRe: dataGridView Pin
joon vh.19-Mar-07 1:31
joon vh.19-Mar-07 1:31 
GeneralRe: dataGridView Pin
t_nedelchev19-Mar-07 2:32
t_nedelchev19-Mar-07 2:32 

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.