스팸 보호 양식¶
Cloudflare Turnstile and Google reCAPTCHA v3 protect website forms against spam and abuse. They attempt to distinguish between human and bot submissions using non-interactive challenges based on telemetry and visitor behavior.
중요
We recommend using Cloudflare Turnstile, as reCAPTCHA v3 may not be compliant with local data protection regulations.
참고
All pages using the Form, Newsletter Block, or Newsletter Popup snippets are protected by both tools. Web login, sign-up and password reset pages are also protected.
Cloudflare 턴타일 환경설정¶
Cloudflare¶
In the dashboard’s navigation sidebar, go to .
On the Overview page, click Add widget.
Add a Widget name to easily identify it.
Click Add Hostnames, enter a custom hostname (e.g., example.com or subdomain.example.com), then click Add twice.
:guilabel:`위젯 모드`를 선택합니다:
The Managed mode is recommended, as it allows Turnstile to prompt visitors to confirm they are human when necessary.
비대화형 및 보이지 않음 모드의 경우 방문자에게 상호 작용을 요청하는 메시지가 표시되지 않습니다. 비대화형 모드에서는 로딩 위젯을 표시하여 방문자에게 Turnstile이 양식을 보호하고 있음을 경고할 수 있지만, 이 위젯은 Odoo에서 지원되지 않습니다.
참고
턴스타일 검사에 실패하면 방문자는 양식을 제출할 수 없으며 다음과 같은 오류 메시지가 표시됩니다:
:guilabel:`생성`을 클릭합니다.
키를 생성한 후 해당 키가 표시됩니다. 다음 단계에서는 이 키를 Odoo에 복사해야 하므로 편의를 위해 페이지를 열어 두세요.
Odoo¶
From the database dashboard, open the Settings app. Under Integrations, enable Cloudflare Turnstile, then click Save.
Open the Cloudflare Turnstile page, copy the Site Key, and paste it into the CF Site Key field in Odoo.
클라우드플레어 턴스타일 페이지를 열고, 비밀 키`를 복사하여 Odoo의 :guilabel:`CF 비밀 키 필드에 붙여넣습니다.
:guilabel:`저장`을 클릭합니다.
팁
Navigate to in your Cloudflare account to View analytics and access additional settings.
reCAPTCHA v3 환경설정¶
경고
reCAPTCHA v3은 현지 데이터 보호 규정에 부합하지 않을 수 있습니다.
구글¶
Enter a Label for the website, e.g., example.com.
Leave the reCAPTCHA type set to Score based (v3).
하나 이상의 :guilabel:`도메인`을 입력합니다(예: example.com 또는 subdomain.example.com).
Under Google Cloud Platform, a project is automatically created or selected if one already exists for the logged-in Google account. Click the field to select a project manually or rename the automatically created project.
서비스 이용약관에 동의합니다.
:guilabel:`제출`을 클릭합니다.
키를 생성한 후 해당 키가 표시됩니다. 다음 단계에서는 이 키를 Odoo에 복사해야 하므로 편의를 위해 페이지를 열어 두세요.
Odoo¶
From the database dashboard, open the Settings app. Under Integrations, activate Enable reCAPTCHA.
경고
Do not uninstall the Google reCAPTCHA integration module, as it would also remove many other modules.
Open the Google reCAPTCHA page, click COPY SITE KEY, and paste it into the Site Key field in Odoo.
Open the Google reCAPTCHA page, click COPY SECRET KEY, and paste it into the Secret Key field in Odoo.
Change the default Minimum score (
0.70) if necessary, using a value between0.00and1.00. The higher the threshold is, the harder it is to pass the reCAPTCHA, and vice versa.:guilabel:`저장`을 클릭합니다.
You can notify visitors that reCAPTCHA protects a form. To do so, navigate to the form and open the website editor. Then, click somewhere on the form, go to the Style tab, and, in the Block section, enable Show ReCAPTCHA Policy.
참고
reCAPTCHA 확인에 실패하면 다음과 같은 오류 메시지가 표시됩니다:
팁
분석 및 추가 설정은 `구글 reCAPTCHA 관리 페이지 <https://www.google.com/recaptcha/admin/>`_를 통해 액세스할 수 있습니다. 이 인터페이스에서 웹사이트에서 Google이 감지한 의심스러운 트래픽에 대한 이메일 알림을 받거나 또한 의심스러운 요청의 비율을 확인하여 설정에 적합한 최소 점수를 결정하는 데 도움이 됩니다.