mysql - what does web-login actually means and how it is implemented? -
bear me please. layman in web technology , have few simple questions need simple language answers.
when login using username , password on website, exact connection/relation established website server? server stores ip address of user , allows user access tables server database short span of time , regular query server keeps 'connection alive'?
thanks in advance..
a login system receives set of credentials user, typically identifier , password. include called authentication token, either generated handheld device (so not have have id , password token generator; it's on equivalent of requiring both pin , card @ atm), or it's generated combining password else , returning encryption result.
the login system, once receives credentials, compares them stored on credential database. in cases credentials sent encrypted, such login system doesn't know are, determine if encryption correct. mean if monitoring communication channel not use fake login later.
now, if credential valid, 1 of 2 things happens. desktop application or general sign-on, login program transfer control either rest of program (for application), or grants access system (for sign on). when person leaves application or signs off system, starts over.
for website, login program send user cookie part of website can read , determine user authenticated , credentials passed. continues until cookie expires, or user logs out. if user logs out, website sends new cookie says former cookie expired.
Comments
Post a Comment