reCaptcha: allow for all domains or add via API

2019-04-06 21:21发布

I'm using the new reCaptcha from Google (with the checkbox and NOT the one with the text to rewrite). As I'm hosting multiple domains (a lot), I can't add all the domains in the admin panel.

My question :

  • is it possible to allow the captcha for all the domains ?
  • is there a way (API ?) to add new domain to my list ?

If not, can you recommand me an alternative for this reCaptcha that allows per default all the domains ?

Thanks a lot in advance

标签: recaptcha
3条回答
闹够了就滚
2楼-- · 2019-04-06 21:26

ReCaptcha actually allows you to add up to 50 domains, all domains must be on a new line in the domain input box.

Domain registration also includes any and all sub-domains.

If necessary, you can disable domain name checking but it is highly discouraged since doing so creates a considerable security hole.

Google reCaptcha doc about domains: Domain/Package Name Validation (link updated)

查看更多
何必那么认真
3楼-- · 2019-04-06 21:28

For multiple domains you can use the Secure Token method. Secure Token (Deprecated)

查看更多
爱情/是我丢掉的垃圾
4楼-- · 2019-04-06 21:32

A reCAPTCHA key is normally tied to a set of individual domains. However, if your list of valid domains is extremely long, fluid, or unknown, we give you the option to turn off the domain name checking on reCAPTCHA's end, and instead check on your server.

https://developers.google.com/recaptcha/docs/domain_validation

查看更多
登录 后发表回答