Cloudflare Turnstile Verification on Protein Sites
Cloudflare Turnstile is a free verification service that understands whether the visitor is a real person or an automated program (bot). It is used as a replacement for classic CAPTCHAs: most do not ask the visitor to select an image or check a box, it does the verification in the background.
Turnstile in Protein is used in two ways: only in logins and forms, or on the entire site if desired. The settings are in the Parameters tab in the site detail, in the Cloudflare Turnstile card.
1. What Does Turnstile Protect Against?
Threat | What Happens | With Turnstile |
|---|---|---|
Login Attempts | Bots It repeatedly tries lists of stolen e-mails and passwords on the site's login screen. | Each login attempt requires verification; automatic attempts will stop. |
Password reset abuse | Bots send mass emails to users by filling out the password reset form. | The form cannot be sent without verification. |
Form spam | Advertising or fake content is filled into forms such as contact, request, registration. | Forms are accepted only from verified visitors. |
Fake membership | Automated programs bulk fake account | The registration form is closed to bots. |
Content scraping and bot traffic | Bots pull product, price and content information in bulk, tiring the server unnecessarily. | If site-wide verification is on, unverified visitors will be directed to the pages. |
Turnstile alone does not prevent network-level attacks (massive DDoS) that send very high volumes of traffic to the server; for these, traffic must pass through the Cloudflare network. Turnstile protects against automated programs that pose as visitors to the site.
2. Getting Keys
- Turnstile requires a Site Key and a Secret Key. These keys are obtained from the Turnstile section of the Cloudflare panel by adding the domain name of the site.
- If a Cloudflare connection is defined on the Protein Params screen, the Withdraw from Cloudflare button appears on the card; The button finds or creates the widget for this site and autofills the keys.
- The Site Key is public and appears in the page source. Secret Key is hidden; Do not share with anyone.
3. Protection on Login and Forms
- Check the Use Turnstile verification box, enter the keys, and save with Save at the bottom of the page.
- Authentication works on the login screen, the forgotten password screen, and forms with Turnstile added.
- Keys are stored when the box is closed, but not used.
4. Site-Wide Verification
- If you check the Site-wide verification box while Turnstile is on, visitors will be verified when entering the site.
- If there is nothing suspicious, the visitor will not be asked for anything: A short screen saying "Your connection is being verified" will appear and the site will open within a few seconds.
- If Cloudflare is suspicious, a verification box will appear on the screen; When the visitor checks the box, the site opens.
- Authentication is valid throughout the session; The visitor is not asked again within the site.
- After the setting is saved, it takes effect within 1 minute at the latest. The currently open pages are refreshed once.
Who | Behavior |
|---|---|
Normal | The visitor moves to the site after a short verification screen, usually no click is required. |
Suspicious link | He is asked to complete the verification box. |
Search engine bots (Google, Bing etc.) | They are passed by verifying that they actually belong to the relevant search engine; The site continues to appear in search results. Fake bots that present themselves as search engines cannot pass. |
Payment return pages | Payment returns from banks are subject to this control. is not affected. |
5. When to Choose Which One?
- If only login, registration and form spam are a problem, Turnstile verification is sufficient.
- If bot traffic, content scraping or automated visits that tire the server are seen, Site-wide verification is also sufficient.
- Site-wide verification can be used safely on public sites that need to be visible in search engines; search engine bots are not affected.
6. Check
- Open the site in the browser's incognito window: if site-wide verification is on, the verification screen should appear first, then the site.
- Check that the verification field appears on the login screen and the login is working.
- If problems occur, close the site-wide verification box and save; It returns to its previous state within 1 minute at the latest.
Summary
Step | What to do |
|---|---|
1. Key | Site Key and Secret Key are obtained from the Cloudflare panel or by Check from Cloudflare. |
2. Form protection | In Parameters > Cloudflare Turnstile, "Use Turnstile verification" is checked. |
3. Site-wide | If necessary, "Site-wide verification" is also ticked; visitors are silently validated at the entrance. |
4. Control | The site and login screen are tried in the incognito window. |
Feedback
Shall we talk about Workcube?
Call duration has expired.