본문 바로가기

Spring/Spring MVC

Google reCAPTCHA 회원가입 03

Google reCAPTCHA

봇의 접근을 판별하기 위한 디지털 보안 프로그램

예제 코드는 Github에 있습니다. (브랜치별로 분할 하엿습니다.)

https://github.com/JoGyuHyeion/Spring-MVC-Login

https://www.google.com/recaptcha/intro/

  • Get reCAPTCHA


  • Label 및 Domain등록 (localhost 는 작동하지 않는다.)


  • Local 에서 확인하고 싶은 경우 host 수정


MAC : sudo vi /pricate/etc/hosts 에서 수정 가능

Windows : C:Windows/System32/drivers/etc/hosts 에서 수정 가능

  • reCAPTCHA API


  • reCAPTCHA 적용한 예