asp.net mvc - How to combine google recaptcha and login in ASP MVC -


in our asp mvc site, login form members exists. trying add captcha reduce bot attacks (my login not simple membership, similar, concept remains same). understand how login request works , making round trip server.

how recaptcha work in tandem membership login-in site. i understand spam side of it, how work in tandem user authentication/authorization during login. so, pass on authenticate after captcha passes, or checks , steps follow? picture , sample help...

  • if implement recaptcha in tandem membership, sequence of steps happening or should happen, can model code?

the steps captcha below

  1. generate captcha (image + key)
  2. store key in session.
  3. send image user

  4. receive response user key user interpret image

  5. verify if original key session match user key input.
  6. take decision, if valid register/login else captcha invalid, repeat step 1

notes:

  1. usually steps done async , in group of 3. steps 1,2,3 providing captcha. steps 4,5,6 verify captcha.

  2. you notice, steps nothing simple membership or others. capcha used validate sensitive request payments not log in or register , prove human.


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -