Where do I change the policy?
In your workspace, open Protection and use the connection shown for the registered website. If several are available, select one under Protection connection. For Cloudflare Worker, edit Automatic policy, choose Enable automatic action and select Save policy. For a server connection, open Dashboard policy, select Manage this server policy from the dashboard, review the settings, select Enable server enforcement and Save dashboard policy.
The Worker has its own policy. All opted-in server runtimes on this website share one server policy. Saving a draft with enforcement switched off leaves the installation in place and lets application traffic continue.
What triggers a response?
Challenge, temporary block and bulk restriction use a completed detection finding with positive evidence for the same website and linked session. The score must meet your minimum, the decision must still be active and the visitor must request a covered route. Limit submissions uses its own allowance for a signed browser session.
| Policy setting | Effect on requests |
|---|---|
| Minimum detection score | Choose 40–70 points. The default is 60. Raising the threshold requires stronger evidence. |
| Decision lifetime | Choose 1–86,400 seconds. The default is 900 seconds (15 minutes) from qualifying evidence. A new finding can extend the decision. Reloading a page does not extend it. |
| Protected routes | Challenge and temporary block apply to the paths you list. The root path (/) covers the whole site. |
Which action should I choose?
| Action | What the visitor receives |
|---|---|
| Challenge session | A covered page navigation shows Turnstile. An API request receives HTTP 403 with a same-origin challenge URL. After verification, the client can retry. Configure the hostname’s Turnstile site key and secret first. |
| Temporarily block | A qualifying request to a protected route receives HTTP 403 while the decision applies. |
| Restrict bulk access | A qualifying request to a configured bulk route receives HTTP 403. You can also limit the number of different product pages a flagged session may view within a time window. |
| Limit submissions | The integration checks the signed session’s allowance for the configured method and exact path before invoking your application. Excess submissions return HTTP 429 and Retry-After. |
Limit repeated submissions on one endpoint
Submission limits start switched off. Install a current Oraami Worker or server adapter, or update an existing installation before enabling this action. In Protection, open Automatic policy for Cloudflare or Dashboard policy for a managed server. Review the existing action first. Each installation policy selects one action. Select Limit submissions, add the real method and exact path for each endpoint, enable enforcement and save.
Choose up to 12 rules for POST, PUT, PATCH or DELETE. Each allowance admits 1–1,000 submissions per signed first-party session during a window of 1–3,600 seconds. The window starts with the first admitted submission. The rule works independently of an analytics finding.
An ordinary HTML navigation or the same-site protection bootstrap establishes the session cookie. A direct submission without that cookie receives HTTP 428 and a cookie. Confirm the cookie is available before deliberately retrying the action. When the allowance is exhausted, honor the Retry-After interval on the HTTP 429 response.
Keep separate account-wide or service-wide quotas where your system needs them. Sending a new session, making a successful payment or actually delivering a text are events your own application can check. Oraami counts the matching request using its method and path.
Protect a catalog while keeping product pages open
Suppose /products is a catalog, /products/blue-chair is a product page, and /api/exports serves downloads. Choose Restrict bulk access and enter the actual routes used by the site.
| Bulk route | Result for a flagged session |
|---|---|
| =/products | The equals sign matches the catalog index exactly. Individual product paths can still load. |
| /api/exports | The endpoint and its descendants, such as /api/exports/orders.csv, return 403. The separate path /api/exports-preview does not match. |
Limit how many different products a flagged session opens
Enable the distinct-product allowance for the product path you want to meter. Set 1–1,000 different paths per window of 1–3,600 seconds. If the allowance is three, a fourth different product returns 403. Returning to one of the first three uses no additional allowance in that window.
Counting uses the normalized pathname and ignores query strings. Use one canonical path per product. Explicit bulk routes are always denied for a qualifying session before an allowance is considered.
What happens after a visitor passes Turnstile?
The enforcement point validates the response with Turnstile on the server and grants clearance for that website, session and active decision. A browser can return to the page. An API client follows the challenge URL and explicitly retries its original request afterward.
Clearance lasts for up to 15 minutes and expires sooner if the decision ends first. A rejected check grants no clearance. An unavailable verification service can return HTTP 503.
Common questions
Can I challenge an export without blocking the rest of my site?
Yes. Choose Challenge session and put the export endpoint in Protected routes. A flagged session requesting that endpoint receives the challenge while requests outside the protected routes can proceed.
Can the Cloudflare and application policies differ?
Yes. Cloudflare uses its own Automatic policy. The server runtimes share one site-specific Dashboard policy when configured for dashboard management.