In Synergetic 72.38, support for reCAPTCHA has been added to your forms to protect them from abuse from bots and bad actors.
Providing a reCAPTCHA challenge on your forms ensures that the submission is only possible by humans rather than bots running automation or orchestrating fraud.
To enable this security enhancement, please follow the below steps:
- Ensure you're logged into your Google account where you want to associate your reCAPTCHA credentials with
- Go to reCAPTCHA
- Fill out the details, here are some hints on each field
- Label - something to remind you about what this reCAPTCHA code is for, e.g.
School CoreAPI - reCAPTCHA type - you must choose
Challenge V2and thenI'm not a robotcheckbox - Domains - click the '+' and then add all the domains where your CoreAPI is hosted. This may only be one domain or many depending on how you're hosting CoreAPI. This ensures your reCAPTCHA credentials can't be used by anyone else on their own websites.
- Project - Choose an existing one if you have any, or create a new one for this purpose
- Label - something to remind you about what this reCAPTCHA code is for, e.g.
- Click 'Submit'
- Copy the 'public key' and 'private key', you'll need this for your CoreAPI configuration
On your webserver where CoreAPI is hosted, navigate to the location of the CoreAPI XML configuration file and open it in a text editor. The default location is usually with one of the following directories
- C:\\inetpub\\wwwroot\\SynergeticCfg\\...
- D:\\inetpub\\wwwroot\\SynergeticCfg\\...
Ensure the following XML elements are included under the <CustomSettings> element
<RecaptchaPublicKey>abcd1234</RecaptchaPublicKey>
<RecaptchaPrivateKey>wxyz9876</RecaptchaPrivateKey>
<RecaptchaEnabledFlag>True</RecaptchaEnabledFlag>
Ensure you put your own public key and private key in the relevant elements above.
Restart your CoreAPI's App Pool for the changes to take effect.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article