Click here to Skip to main content
15,889,808 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Hashing fields pre server post Pin
Kornfeld Eliyahu Peter27-Nov-14 19:12
professionalKornfeld Eliyahu Peter27-Nov-14 19:12 
GeneralRe: Hashing fields pre server post Pin
Dale17727-Nov-14 20:24
Dale17727-Nov-14 20:24 
GeneralRe: Hashing fields pre server post Pin
Kornfeld Eliyahu Peter27-Nov-14 20:35
professionalKornfeld Eliyahu Peter27-Nov-14 20:35 
GeneralRe: Hashing fields pre server post Pin
Richard Deeming28-Nov-14 2:38
mveRichard Deeming28-Nov-14 2:38 
AnswerRe: Hashing fields pre server post Pin
Michael_Cox3-Dec-14 6:38
Michael_Cox3-Dec-14 6:38 
GeneralRe: Hashing fields pre server post Pin
Richard Deeming3-Dec-14 7:41
mveRichard Deeming3-Dec-14 7:41 
GeneralRe: Hashing fields pre server post Pin
Michael_Cox3-Dec-14 9:37
Michael_Cox3-Dec-14 9:37 
GeneralRe: Hashing fields pre server post Pin
Richard Deeming3-Dec-14 10:22
mveRichard Deeming3-Dec-14 10:22 
Michael_Cox wrote:
if someone gains access to the data that you are directly authenticating to then the result is the same regardless

Not quite.

If an attacker is sniffing the network traffic between the client and the server, then there's no hope either way.

However, if the attacker gets hold of a list of username and hashed passwords:
  • If you're hashing the password on the server, then the attacker has to guess the password before they can authenticate.
  • If you're hashing the password on the client, then the attacker can immediately authenticate as any user.
    Your server isn't checking that the user knows the password, only that they know the hash of the password.


If you install an SSL certificate, and ensure that your login pages are only ever served over HTTPS, then you protect the data in-flight. But if you're going to do that, then why would you bother hashing the passwords on the client? Nobody can see the network traffic, so the argument for client-side hashing is gone.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


QuestionPassword recovery tutorial Pin
Member 876166727-Nov-14 4:42
Member 876166727-Nov-14 4:42 
AnswerRe: Password recovery tutorial Pin
ZurdoDev1-Dec-14 7:25
professionalZurdoDev1-Dec-14 7:25 
GeneralRe: Password recovery tutorial Pin
Member 87616676-Dec-14 6:18
Member 87616676-Dec-14 6:18 
Questionall Pin
Member 1123433227-Nov-14 3:24
Member 1123433227-Nov-14 3:24 
SuggestionRe: all Pin
Richard MacCutchan27-Nov-14 3:29
mveRichard MacCutchan27-Nov-14 3:29 
GeneralRe: all Pin
Member 1123433227-Nov-14 3:37
Member 1123433227-Nov-14 3:37 
AnswerRe: all Pin
ZurdoDev1-Dec-14 7:25
professionalZurdoDev1-Dec-14 7:25 
QuestionAdd Dynamically A LinkButton Inside Nested (Child) GridView Pin
Mrkhoza27-Nov-14 2:26
professionalMrkhoza27-Nov-14 2:26 
AnswerRe: Add Dynamically A LinkButton Inside Nested (Child) GridView Pin
jaimin851-Dec-14 23:37
jaimin851-Dec-14 23:37 
QuestionHelp in Converting Desktop App to Web App. Pin
QuickBooksDev26-Nov-14 4:48
QuickBooksDev26-Nov-14 4:48 
AnswerRe: Help in Converting Desktop App to Web App. Pin
jkirkerx26-Nov-14 10:48
professionaljkirkerx26-Nov-14 10:48 
GeneralRe: Help in Converting Desktop App to Web App. Pin
QuickBooksDev27-Nov-14 0:37
QuickBooksDev27-Nov-14 0:37 
GeneralRe: Help in Converting Desktop App to Web App. Pin
Richard Deeming27-Nov-14 3:07
mveRichard Deeming27-Nov-14 3:07 
GeneralRe: Help in Converting Desktop App to Web App. Pin
QuickBooksDev27-Nov-14 9:16
QuickBooksDev27-Nov-14 9:16 
GeneralRe: Help in Converting Desktop App to Web App. Pin
Richard Deeming27-Nov-14 9:19
mveRichard Deeming27-Nov-14 9:19 
GeneralRe: Help in Converting Desktop App to Web App. Pin
QuickBooksDev30-Nov-14 2:53
QuickBooksDev30-Nov-14 2:53 
GeneralRe: Help in Converting Desktop App to Web App. Pin
Richard Deeming1-Dec-14 1:36
mveRichard Deeming1-Dec-14 1:36 

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.