If you decide that you want to add captcha validation to the user registration of your ruby on rails application its really not that difficult. Make sure first to install the gem using gem install captcha. After installing the gem you can use / modify the following code to add captcha protection to your user signups: class NewCustomerController < ApplicationController require_gem 'captcha' layout
ã人éãå ¥åãããã©ããæ¤æ»ãã§ããCAPTCHA(Completely Automated Public Turing test to tell Computers and Humans Apart)ãæè¿ã¯çãããªããªããããã«ã¤ãã¦ãCAPTCHA対å¿ã¹ãã ãåºã¦ãããCouchDbã®ãã¢ãµã¤ãã§ãããã«å°ã£ã¦ãããããããNegative-CAPTCHAã¨å¼ã°ããããããã¢ã¤ãã¢ã§ã¢ã¤ãã¢ã§ã¹ãã ãæéãã¦ããããã ï¼Sofrã¨ãã®æ²ç¤ºæ¿ãããï¼ã åçã¯é£ããã¯ãªãããã©ã¼ã å ã«ã¦ã¼ã¶ã¼ã«ã¯è¦ããªãé ãé ç®ï¼ä½ããType=Hiddenã§ã¯ãªãï¼ãè¨å®ããnameããããããééãããã"email"ã®ãããªå称ã«ããã ãã <input type="text" name="email" style="display:none">ããã§ã¢ããªããããã¯äººéãµãã«ã¯è¦ããªãemai
å¤å½ããã®ã³ã¡ã³ãã¹ãã 対çãæãã¤ããã®ã§ããã®ããã°ã®ã³ã¡ã³ãæ¬ã«ã³ã¡ã³ãã¹ãã 対çãå®è£ ãã¦ã¿ã¾ããã ãã®ãµã¤ãã«æ¥ãã³ã¡ã³ãã¹ãã ã¯ãã»ã¨ãã©ãå¤å½ããã®ãã®ã§ãã æ¥ã«æ¥ã«éãå¢ãã¦ãã¦ãã¾ãã æåã¯IPã¢ãã¬ã¹ãç¦æ¢ã¯ã¼ããªã©ã§å¼¾ããã¨ãã¾ããããåãã¹ããã¼ã¨æãããæ¸ãè¾¼ã¿ã§ãIPã¢ãã¬ã¹ã¯ãã©ãã©ã ã£ãããå 容ãå¤å²ã«æ¸¡ã£ã¦ããããã¦ãã¦9å²å¼¾ãã¦ãããã¤ãã¯æ¸ãè¾¼ã¾ãã¦ãã¾ãã¾ãã 大æµã¯ã¹ã¯ãªããã¨æãããæ¸ãè¾¼ã¿ãç¶ãããã¡ãã対çããã¦ããç¨åº¦ããã¨ã人éã¨æãããæ¸ãè¾¼ã¿ãè¡ããã¾ãã 人éã«ããæ¸ãè¾¼ã¿ã¯ãç¦æ¢ã¯ã¼ããªã©ã®èª¿æ»ããã¦ããããã§ãã ç¸æãããã®ããã§ãä¸è¬çãªãã£ã«ã¿ãªã³ã°ææ³ã¯è¯ãç¥ã£ã¦ãã¦ãå·§ã¿ã«ãã¡ãã®è¨å®ã調ã¹ã¦ããã¾ãã ä¾ãã°ãç¹å®ã®ç¦æ¢ã¯ã¼ããå«ããã®ã¨å«ã¾ãªããã®ãå ¥ãã¦ã¿ãããåãå 容ãè¤æ°ã®IPã¢ãã¬ã¹ããå ¥ãã¦ã¿ããã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}