Click here to Skip to main content
15,913,941 members
Home / Discussions / C#
   

C#

 
GeneralRe: How does Observable.Join work? Pin
John Torjo29-Feb-16 19:40
professionalJohn Torjo29-Feb-16 19:40 
QuestionGrid View Filtering Pin
Member 1235559027-Feb-16 3:07
Member 1235559027-Feb-16 3:07 
AnswerRe: Grid View Filtering Pin
Afzaal Ahmad Zeeshan27-Feb-16 4:09
professionalAfzaal Ahmad Zeeshan27-Feb-16 4:09 
Questionwhy password is not decrypting Pin
Veena Hosur25-Feb-16 23:13
Veena Hosur25-Feb-16 23:13 
AnswerRe: why password is not decrypting Pin
Richard MacCutchan26-Feb-16 0:20
mveRichard MacCutchan26-Feb-16 0:20 
GeneralRe: why password is not decrypting Pin
Veena Hosur26-Feb-16 0:52
Veena Hosur26-Feb-16 0:52 
GeneralRe: why password is not decrypting Pin
Richard MacCutchan26-Feb-16 0:55
mveRichard MacCutchan26-Feb-16 0:55 
GeneralRe: why password is not decrypting Pin
Nathan Minier26-Feb-16 1:25
professionalNathan Minier26-Feb-16 1:25 
What Richard is saying is that there is an established, secure system for passwords that works.
  1. Pick a hashing function. (salted SHA256/512 is a fair pick right now)
  2. When a user sets a password, derive the hash and store that in the database.
  3. When a user authenticates, hash the password that they enter using the same function, and compare it to the database entry.
This prevents a litany of sins. Mainly, the plaintext of the password is only known by the user, sysadmins cannot grab it out of the database and crack it. Hackers cannot get credentials by compromising a database. Just make sure that you properly protect the password in transit from the user to your application.

Oh, and make sure to salt. Unsalted hashes may as well be plain text.
GeneralRe: why password is not decrypting Pin
Sascha Lefèvre26-Feb-16 1:44
professionalSascha Lefèvre26-Feb-16 1:44 
AnswerRe: why password is not decrypting Pin
ZurdoDev26-Feb-16 4:01
professionalZurdoDev26-Feb-16 4:01 
GeneralRe: why password is not decrypting Pin
Richard MacCutchan26-Feb-16 6:18
mveRichard MacCutchan26-Feb-16 6:18 
GeneralRe: why password is not decrypting Pin
ZurdoDev26-Feb-16 6:23
professionalZurdoDev26-Feb-16 6:23 
GeneralRe: why password is not decrypting Pin
Richard MacCutchan26-Feb-16 6:41
mveRichard MacCutchan26-Feb-16 6:41 
GeneralRe: why password is not decrypting Pin
ZurdoDev26-Feb-16 7:03
professionalZurdoDev26-Feb-16 7:03 
QuestionHow can i get array index to satisfy my requirement fastly? Pin
smallkubi25-Feb-16 19:02
smallkubi25-Feb-16 19:02 
AnswerRe: How can i get array index to satisfy my requirement fastly? Pin
OriginalGriff25-Feb-16 19:42
mveOriginalGriff25-Feb-16 19:42 
QuestionDebugging: Stepping into Entity Framework Pin
Sascha Lefèvre24-Feb-16 23:39
professionalSascha Lefèvre24-Feb-16 23:39 
AnswerRe: Debugging: Stepping into Entity Framework Pin
Simon_Whale25-Feb-16 0:55
Simon_Whale25-Feb-16 0:55 
GeneralRe: Debugging: Stepping into Entity Framework Pin
Sascha Lefèvre25-Feb-16 1:01
professionalSascha Lefèvre25-Feb-16 1:01 
GeneralRe: Debugging: Stepping into Entity Framework Pin
Raj Champaneriya25-Feb-16 4:22
professionalRaj Champaneriya25-Feb-16 4:22 
GeneralRe: Debugging: Stepping into Entity Framework Pin
Sascha Lefèvre25-Feb-16 5:06
professionalSascha Lefèvre25-Feb-16 5:06 
AnswerRe: Debugging: Stepping into Entity Framework Pin
Dave Kreskowiak25-Feb-16 5:06
mveDave Kreskowiak25-Feb-16 5:06 
GeneralRe: Debugging: Stepping into Entity Framework Pin
Sascha Lefèvre25-Feb-16 5:21
professionalSascha Lefèvre25-Feb-16 5:21 
GeneralRe: Debugging: Stepping into Entity Framework Pin
Dave Kreskowiak25-Feb-16 5:41
mveDave Kreskowiak25-Feb-16 5:41 
GeneralRe: Debugging: Stepping into Entity Framework Pin
Sascha Lefèvre25-Feb-16 6:07
professionalSascha Lefèvre25-Feb-16 6:07 

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.