Qhov kev lees paub tsis tu ncua yog dab tsi?
Qhov kev lees paub tsis tu ncua yog dab tsi?
Anonim

Persistent Authentication piv rau Session Mechanisms. Muaj lwm txoj hauv kev - tsis tu ncua authentication - uas tsis siv server sab cache. Hloov chaw tus cim kev sib ntsib, nws xav tau ib qho kev lees paub token. Qhov no kev lees paub token yog parsed thiab validated rau txhua qhov kev thov.

Ib yam li ntawd, qhov kev nkag mus tsis tu ncua yog dab tsi?

Thaum koj kos npe nkag, tus neeg rau zaub mov siv kev sib tham kom koj nkag rau hauv. Tsuav koj nyob twj ywm, koj yuav nyob twj ywm rau hauv, tab sis tom qab lub sij hawm ntawm inactivity kev sib tham yuav tas sij hawm thiab koj yuav tau kos npe rau dua.

Ib sab saum toj no, WWW Authenticate header yog dab tsi? HTTP WWW- Ua pov thawj teb taub hau txhais cov kev lees paub txoj kev uas yuav tsum tau siv kom tau txais kev pab. The WWW- Authenticate header yog xa nrog rau 401 Cov lus teb tsis tau tso cai.

Kuj kom paub, dab tsi yog tus ID nkag mus ncuav qab zib?

Cov ID nkag mus ncuav qab zib muaj tus neeg siv lub npe, tus lej cim, thiab lub cim. Cov token siv tau raug tshem tawm ntawm lub database. Ib tug tshiab token yog generated, khaws cia rau hauv database nrog tus username thiab tib series identifier, thiab ib tug tshiab ID nkag mus ncuav qab zib muaj tag nrho peb yog muab rau tus neeg siv.

Yuav ua li cas nco kuv ncuav qab zib ua hauj lwm?

Nyem qhov Nco Kuv ” lub thawv qhia qhov browser rau cawm a ncuav qab zib yog li ntawd yog tias koj kaw lub qhov rais rau qhov chaw yam tsis tau kos npe tawm, lwm zaus koj rov qab mus, koj yuav tau kos npe rov qab rau hauv. Ua Nco ntsoov tias koj muaj koj tus browser teeb tsa nco ntsoov ncuav qab zib , los yog qhov haujlwm no yuav tsis ua haujlwm.

Pom zoo: