Access Zone Protection Requirements, Exemptions, and Allow Policies
How account-wide deny-by-default Access protection works, when to enable it, exemptions, and Allow or Bypass policies for hostnames.
This page summarises Cloudflare documentation on Require Access protection: an account-level setting that blocks traffic to any hostname unless a matching Cloudflare Access application exists. The same capability was announced for Cloudflare One Access in the 2026-01-22 changelog.
Administrators enable this when they want a positive security model—defining what is allowed and rejecting everything else—so new DNS records or deployments cannot accidentally sit on the public Internet without an explicit Access decision. Cloudflare contrasts that with a negative model, which only blocks known bad cases and accepts the rest (client-side security footnote).
Require Access protection: what blocks traffic by default
Section titled “Require Access protection: what blocks traffic by default”Require Access protection means traffic to every hostname in the account is denied unless Cloudflare Access has an application covering that hostname.
You can now require Cloudflare Access protection for all hostnames in your account. When enabled, traffic to any hostname that does not have a matching Access application is automatically blocked.
— Cloudflare, Require Access protection for zones
Cloudflare Access allows you to require Access protection for all hostnames in your account. When this setting is turned on, traffic to any hostname without a matching Access application is automatically blocked.
— Cloudflare, Require Access protection
Without the setting, a developer could publish a new application or add a DNS record and expose the resource before anyone configures Access. With it, the default is blocked, which reduces accidental exposure of internal resources to the public Internet (Access changelog).
How hostname blocking interacts with Access applications
Section titled “How hostname blocking interacts with Access applications”The control is account-wide and binary at the edge: either a hostname is covered by an Access application (with policies that permit the request), or traffic is blocked.
| Behaviour | Meaning |
|---|---|
| Blocked by default | Traffic to all hostnames in the account is blocked unless an Access application exists for that hostname (changelog how it works) |
| Explicit access required | To allow traffic, create an Access application with an Allow or Bypass policy (Require Access protection) |
| Hostname exemptions | Specific hostnames can be exempted from the requirement; exempted hostnames are allowed even without an Access application |
An Allow policy still enforces authentication and policy checks. A Bypass policy is appropriate when the hostname should be publicly reachable without sign-in, but it must still be registered as an Access application so the hostname is not caught by the default block.
Turn on Block traffic to all domains: dashboard steps and caution
Section titled “Turn on Block traffic to all domains: dashboard steps and caution”The dashboard control is named Block traffic to all domains in this account. Turning it on is irreversible in effect until you add applications, exemptions, or turn the setting off again—so preparation matters more than with per-app Access alone.
Turning on Access protection blocks traffic to any hostname that does not have an Access application. Before turning on this setting, verify that all publicly accessible hostnames have an Access application with an Allow or Bypass policy.
— Cloudflare, Require Access protection
-
Log in to the Cloudflare dashboard and open Zero Trust → Access controls → Access settings.
-
Enable Block traffic to all domains in this account. Confirm the dialog that explains scope.
-
Confirm that traffic to hostnames without a matching Access application is now blocked (Require Access protection).
-
(Optional) Under Hostnames to Exempt, add domains that should not require a matching Access application.
Allow traffic to a hostname: Access applications, Allow policies, and Bypass
Section titled “Allow traffic to a hostname: Access applications, Allow policies, and Bypass”When Block traffic to all domains in this account is on, each hostname you want reachable needs an intentional Access path.
-
Create an Access application for the hostname.
-
Add an Allow policy to grant access to authorized users.
-
(Optional) Add a Bypass policy if the hostname should be publicly accessible without authentication.
For sensitive apps, Cloudflare’s ZTNA design guidance describes collecting justification at sign-in so every authentication event has context in the audit trail (Designing ZTNA access policies). That is independent of the account-wide block but pairs well with strict Allow policies.
Protect all Workers: account-wide Access for Workers and preview URLs
Section titled “Protect all Workers: account-wide Access for Workers and preview URLs”A separate but related control covers Workers rather than arbitrary zone hostnames. From Workers & Pages, Protect all Workers can require sign-in on every Worker in the account, including Workers deployed later, for preview traffic only or for all traffic (Protect all Workers).
| Scope | API destination type |
|---|---|
| Preview deployments only | all_preview_workers |
| Production and preview | all_workers |
These destinations are sent in a POST /accounts/{account_id}/access/apps request; the full schema is in the Access applications API documentation linked from the same page.
Require Access protection for zones and Protect all Workers both pursue deny-by-default exposure control, but they apply to different resource types. You may need both: zone hostnames governed by Access settings, Workers governed by the Workers overview card and optional API applications.
Common mistakes when requiring Access protection for zones
Section titled “Common mistakes when requiring Access protection for zones”-
Enabling the account block before inventorying hostnames. Legitimate public sites, verification endpoints, or CDN-only names without an Access application will stop responding until you add an application (with Allow or Bypass) or an exemption.
-
Using exemptions for internal apps. Exemptions skip the “must have an Access application” rule entirely; internal tools should get applications and Allow policies instead (Require Access protection).
-
Confusing Allow with Bypass. Allow still runs Access authentication and policy; Bypass is for intentional public access while keeping the hostname registered under Access.
-
Forgetting new DNS or deployments. The feature exists precisely because new records used to be reachable by default; after enablement, every new hostname needs the same explicit step.
-
Assuming Workers are covered. Zone-wide Access protection does not replace Protect all Workers; configure each control where it applies (Workers Cloudflare Access).
How to check this on your site
Section titled “How to check this on your site”-
In the Cloudflare dashboard, open Zero Trust → Access controls → Access settings and note whether Block traffic to all domains in this account is on (Require Access protection).
-
List hostnames that must stay public; confirm each has an Access application with a Bypass (or Allow, if sign-in is required) or appears under Hostnames to Exempt.
-
From an external network, request a hostname that should be internal-only and confirm it is blocked when no application exists (behaviour described in Require Access protection for zones).
-
On Workers & Pages, review Protect all Workers if you use Workers, and align scope (Previews only vs All traffic) with your policy (Protect all Workers).
-
You can check automatically in Answerwell (our tool): https://answerwell.org/workspace
Report an error or ask a question
Section titled “Report an error or ask a question”If something on this page is wrong or unclear, email yimasynthetic@gmail.com with the page URL and the exact statement you are asking about, and we will correct or clarify it.