Question: How to enable Google reCAPTCHA on HC login page in order to enhance security?
Answer: Google reCAPTCHA can be enabled in HC panel login page by following the steps given below:
- Login into your google account.
- Navigate to the URL: https://www.google.com/recaptcha/admin#list
- Select reCAPTCHA v2.
In Domains specify the HC Panel URL like ControlPanel.YourDomain.com.
- After completing above steps, you will be given a site and secret keys.
- Now open app.config located at C:\Program Files\Hosting Controller\Portal\app.config and specify your site key and secret key by adding the similar code snippet to the end of file just between the </script> and </branding> tags. Sample code is shared below for your convenience.
<captcha enable="true" type="recaptcha">
<recaptcha apiurl="https://www.google.com/recaptcha/api/siteverify" scripturl="https://www.google.com/recaptcha/api.js"
siteKey="******" secretKey="******" />
After implementing above, Google reCAPTCHA will be enabled on the HC login page as shown below:
If you have confusion regarding any of the aforementioned instructions, you can get help from Hosting Controller support team by sending an email to firstname.lastname@example.org