Home > Net >  Authentication code, how can not be bypassed
Authentication code, how can not be bypassed

Time:09-25

Their own online authentication code, has always been around, and to verify in the background, how to implement,

This slide can realize the background authentication, or to lose verification code by hand to realize the background verification,

CodePudding user response:

Slide is only a matter of form, verification must be backstage, do you want to know, what did when sliding, generate a token or a random number?

CodePudding user response:

Use image authentication code:
1, enter the page, the background to generate the authentication code, and use session to store the authentication code in the background and foreground session storage shows the background of the authentication code
2, input from the user account and submit verification code information, at this point the captcha comparing with the verification code in the session information submitted to the background are consistent
3, the verification code isn't consistent with the input, is to generate a new verification code, and sent to the front end
  • Related