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
- generate captcha (
image
+key
) - store
key
insession
. send
image
userreceive response user
key
user interpret image- verify if original key
session
match user keyinput
. - take decision,
if
valid register/loginelse
captcha invalid, repeat step 1
notes:
usually steps done
async
, in group of 3. steps 1,2,3 providing captcha. steps 4,5,6 verify captcha.you notice, steps nothing simple membership or others. capcha used validate sensitive request payments not log in or register , prove human.