Click here to Skip to main content
15,913,944 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Am I right or am I right? Pin
Bergholt Stuttley Johnson16-Mar-15 5:17
professionalBergholt Stuttley Johnson16-Mar-15 5:17 
GeneralRe: Am I right or am I right? Pin
PIEBALDconsult16-Mar-15 8:02
mvePIEBALDconsult16-Mar-15 8:02 
GeneralRe: Am I right or am I right? Pin
Richard Deeming16-Mar-15 5:12
mveRichard Deeming16-Mar-15 5:12 
GeneralRe: Am I right or am I right? Pin
OriginalGriff16-Mar-15 5:16
mveOriginalGriff16-Mar-15 5:16 
GeneralRe: Am I right or am I right? Pin
Bergholt Stuttley Johnson16-Mar-15 5:27
professionalBergholt Stuttley Johnson16-Mar-15 5:27 
GeneralRe: Am I right or am I right? Pin
Nagy Vilmos16-Mar-15 4:48
professionalNagy Vilmos16-Mar-15 4:48 
GeneralRe: Am I right or am I right? Pin
Eddy Vluggen16-Mar-15 4:50
professionalEddy Vluggen16-Mar-15 4:50 
GeneralRe: Am I right or am I right? Pin
den2k8816-Mar-15 4:56
professionalden2k8816-Mar-15 4:56 
The password is (shuold be) never sent in any form to the server, normally the authentication is a challenge based one.

In phase of registration there is a secure connection where you actually send your password to the server.

Then the login is done by challenge: the server creates a chunk of random data Ri, sends them to the client and at the same time encrypts them using the hash of the password it has stored, creating the encrypted challenge Ci.
The client receives Ri and encrypts using the hash of the provided password, then sends the encrypted chunk Cj to the server.
The server then compares Ci and Cj - if they're equal then the loign is successful.

The main reason because the password should never be sent in any form is to protect from Man In The Middle attacks: if an attacker can sniff your login packet then it may send it again on later times, sending the encrypted password directly to the server with a custom made login packet.
Geek code v 3.12
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- r++>+++ y+++*
Weapons extension: ma- k++ F+2 X


// No comment

GeneralRe: Am I right or am I right? Pin
amagitech16-Mar-15 5:04
amagitech16-Mar-15 5:04 
GeneralRe: Am I right or am I right? Pin
OriginalGriff16-Mar-15 5:12
mveOriginalGriff16-Mar-15 5:12 
GeneralRe: Am I right or am I right? Pin
den2k8816-Mar-15 5:18
professionalden2k8816-Mar-15 5:18 
GeneralRe: Am I right or am I right? Pin
Keith Barrow16-Mar-15 5:10
professionalKeith Barrow16-Mar-15 5:10 
GeneralRe: Am I right or am I right? Pin
Rage16-Mar-15 5:35
professionalRage16-Mar-15 5:35 
GeneralRe: Am I right or am I right? Pin
Mark_Wallace16-Mar-15 5:13
Mark_Wallace16-Mar-15 5:13 
GeneralRe: Am I right or am I right? Pin
Rage16-Mar-15 5:31
professionalRage16-Mar-15 5:31 
JokeRe: Am I right or am I right? Pin
Pablo Aliskevicius16-Mar-15 6:00
Pablo Aliskevicius16-Mar-15 6:00 
GeneralRe: Am I right or am I right? Pin
Mark_Wallace16-Mar-15 10:02
Mark_Wallace16-Mar-15 10:02 
GeneralRe: Am I right or am I right? Pin
  Forogar  16-Mar-15 6:52
professional  Forogar  16-Mar-15 6:52 
GeneralRe: Am I right or am I right? Pin
newton.saber16-Mar-15 5:29
newton.saber16-Mar-15 5:29 
GeneralRe: Am I right or am I right? Pin
Rage16-Mar-15 5:33
professionalRage16-Mar-15 5:33 
GeneralRe: Am I right or am I right? Pin
Eddy Vluggen16-Mar-15 5:53
professionalEddy Vluggen16-Mar-15 5:53 
GeneralRe: Am I right or am I right? Pin
OriginalGriff16-Mar-15 5:54
mveOriginalGriff16-Mar-15 5:54 
GeneralRe: Am I right or am I right? Pin
Deflinek16-Mar-15 5:55
Deflinek16-Mar-15 5:55 
GeneralRe: Am I right or am I right? Pin
Keith Barrow16-Mar-15 6:09
professionalKeith Barrow16-Mar-15 6:09 
GeneralRe: Am I right or am I right? Pin
PIEBALDconsult16-Mar-15 7:38
mvePIEBALDconsult16-Mar-15 7:38 

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.