.NET Recaptcha https

后端 未结 3 980
南旧
南旧 2021-01-05 07:42

We\'ve started using the ASP.NET recaptcha control and it works fine. but one of the requirements we have is that all outbound traffic goes over Https.

I know that r

3条回答
  •  情书的邮戳
    2021-01-05 08:15

    The .NET library does not require any configuration to work on HTTPS environment. It will derive from the current HttpContext whether the request is made from HTTPS protocol.

    But, there is RecaptchaControl.OverrideSecureMode property that you can use just in case it doesn't work as expected. Set to True to force HTTPS mode.

    Update:

    I seem to have misunderstood the question. I am afraid there is no HTTPS endpoint for reCAPTCHA verification (between your server and theirs).

提交回复
热议问题