Is this really the version you are looking for? Kentico Xperience 12 Service Pack Documentation is no longer updated. Use the switcher in the header to choose your product version.
Kentico allows you to protect your website from automated spam bots. You can secure all forms where users enter data, by requiring users to type a security code called CAPTCHA (opens in a new tab).
You can use CAPTCHA to tell humans and computers apart in the following places:
You can choose which CAPTCHA type the system uses:
We recommend using reCAPTCHA, which is the most secure and user-friendly CAPTCHA type.
Simple – prompts users to retype a sequence of numbers from an image.
Logic – asks users to solve a simple arithmetic problem or to compare two numbers. Example: "one + four"; "Is six > than eight? (true/false)"
Text – prompts users to retype a sequence of numbers, each number into an individual box.
reCAPTCHA (opens in a new tab) – loads the verification element using a web service. Requires users to click a checkbox to prove they are not a bot. The user either passes immediately, or needs to perform an additional image selection test to prove they are human.
To use reCAPTCHA, you need to perform the .
The default CAPTCHA type is Simple. To change the default type:
When you change the CAPTCHA type, all web parts and features that have CAPTCHA enabled use the new type. Also, all fields in custom tables, page types, and forms that use the Security code form control, use the new type of CAPTCHA. Fields that use a specific CAPTCHA control do not change.
ReCAPTCHA (opens in a new tab) is an online service which allows your application to tell apart humans and computers. ReCAPTCHA requires users to click a checkbox indicating they are not a robot. This either passes the user immediately or challenges them to validate whether or not they are human (using an additional image selection or audio test).
You need to register your site to use the reCAPTCHA API and obtain a pair of API keys:
Next, enter your site's reCAPTCHA API keys into Kentico:
Open the Settings application.
Navigate to the Security & Membership -> Protection settings category.
Under CAPTCHA settings, paste the API keys into the reCAPTCHA site key and reCAPTCHA secret key settings respectively.
Save the settings.
Tip: If you run multiple sites in your Kentico instance, you can switch between them using the Site selector and enter different API keys for each site.
With the API keys entered into the system, you can select reCAPTCHA as the default CAPTCHA type (via the Control to use setting).
You can also create verification fields in page types, forms or custom tables using the reCAPTCHA form control. In this case, the form control allows you to configure additional settings for the specific field:
Using multiple reCAPTCHAs on the same page
The system does not support the use of multiple reCAPTCHA fields within the same form. You can have multiple different forms with a reCAPTCHA field on the same page, but successful validation for one form also automatically validates the others.
If you wish to change the error messages that reCAPTCHA displays to users, create custom resource strings with the appropriate keys and enter the required text content as the translation values for specific cultures.
Use the following resource string keys for error messages related to basic verification:
You can also use the following resource string keys for other technical errors: