Orion Correa · Sep 25, 2017

Loading page resources through proxy

I have an application that as part of the registration process is using reCaptcha to provide a captcha. The issue is that service is served from Google and is unavailable in certain countries, namely China. I've been researching this some and believe it's possible to proxy the requests to the Google CDN to avoid the Chinese firewall ban on Google URLs, however I'm not quite sure how to do this in CSP. 

Does anyone have suggestions on how to solve this, either with a technical solution or an alternative service I can fall back to?
An example would be greatly appreciated.


0 251
Discussion (4)1
Log in or sign up to continue

Thanks for the suggestions. I ultimately set it up to have a fallback mode which allows bypassing the captcha. Eventually I'll choose another service if necessary, but for now it just ignores the captcha and I'll track to see if we get much spam.

My first idea is to use a captcha service straight from China.

Something like this:

Maybe if you use some flag to fallback to this service instead of reCaptcha when the consumer originates from mainland China.

The only issue is that you might need a translator for support.