The Origin Protection Ladder: Six API Origin Setups, Ranked

November 24, 2026 | 9 min read | For Platform, Infrastructure and Security Owners

A DevOps lead made a sharp point in a forum thread this week: edge rules have to ship with the deployment, inside the same pull request, or they lag behind the endpoints they protect. I agree, and there is a condition hiding in it. A rule at the edge only matters if traffic has to pass the edge. If the API's origin answers anyone who finds its address, a perfectly deployed edge rule protects a door the attacker never uses.

So before the question of how fast edge rules ship, there is the question of where the origin sits. Below is the ladder I use to rank API origin setups, from worst to best. Each rung keeps everything below it.

106 of 168 Production API hostnames from DDactic's API dataset that resolve to an address outside any CDN edge (DNS check, 24 November 2026). Passive DNS can't see on-demand scrubbing, always-on BGP scrubbing or appliances, so read this as "not behind an edge", not as "unprotected".

Three terms that get mixed up

Akamai Site Shield is an origin allowlist: a dedicated set of Akamai addresses your origin firewall accepts, and nothing else. CloudFront Origin Shield and Fastly shielding are something else entirely: an extra caching tier that cuts the number of requests reaching your origin. They reduce load. They do not lock the origin. And AWS Global Accelerator or DNS load balancing are not CDNs; they steer or proxy traffic without the CDN's L7 layer in front.

The ladder

Rung 0: the origin is public, no edge

The API hostname resolves straight to the origin. Every layer of defense lives on your own link: the firewall, an appliance if there is one, and the application. A volumetric flood fills the link before any of them can decide anything.

Rung 1: the CDN answers for the name, the origin is still reachable

The hostname points at the CDN, so the dashboard shows the API as protected. But the origin keeps a public address that accepts traffic from anyone, and that address is usually findable: old DNS records, certificate logs, a mail server on the same range, a sister hostname that was never moved. I collected the methods in 11 Ways to Find a Hidden Origin. Once the address is known, the attacker skips the edge, and protection falls back to what sits in front of the origin itself:

This is where many "but we have a CDN" surprises come from. The related pattern, API hostnames that never moved behind the edge at all, is in The Website Gets the CDN. The API Waits.

Rung 2: the origin only talks to the edge

The origin firewall accepts traffic only from the CDN's address ranges, and ideally the origin also checks that each request came through your own edge configuration: a vendor-specific header, or a client certificate the edge presents (authenticated origin pulls, mutual TLS between edge and origin). The second check matters because most CDNs publish shared ranges. An allowlist of shared ranges admits every other customer of the same CDN. One vendor's own documentation says IP filtering alone is not enough for exactly this reason and asks you to verify a header that carries your profile ID.

What this rung closes: L7 bypass. Requests that skip the edge are dropped at the origin. What it leaves open: the origin's network link. An allowlist drops packets after they arrive, so a large enough L3/L4 flood at the origin address still fills the pipe.

Rung 3: plus on-demand L3/L4 scrubbing

A scrubbing provider can take over the origin's address space when an attack starts, by BGP announcement or DNS diversion, and send clean traffic back over a tunnel. Now the link is defended too. The cost is the diversion gap: on-demand means the flood reaches the origin first, someone or something detects it, and traffic moves. For the first minutes of every attack, the origin is on its own. How long those minutes are depends on detection, approval and routing convergence. In tests I ran, diversion took about five minutes when everything went well. In the worst cases, mitigation only started once the vendor's response team joined the call, 20 to 30 minutes in. That range is the reason to measure it in a drill rather than read it from a contract.

Rung 4: plus always-on scrubbing

The provider announces your prefixes permanently, so traffic is always cleaned on the way in. No diversion gap. The trade-offs are cost, and that every packet takes the longer path. For an API whose downtime costs more per hour than the difference between the on-demand and always-on contracts, this rung pays for itself on the first attack.

Rung 5: no public origin at all

The origin has no public inbound address. It reaches the edge over a private path: an outbound tunnel from a connector next to the origin, a private link inside a cloud provider, or a physical interconnect. There is nothing to discover and nothing to flood directly. Everything has to come through the edge, which is also the point where the deployment discipline from that forum thread finally pays off in full: every edge rule you ship applies to every request.

How well proven is each private path? I have lab-tested one of them end to end: Cloudflare's tunnel, with no public listener on the origin (dimension D1 on the vendor scorecard). AWS CloudFront VPC origins, Azure Front Door Private Link and F5 Distributed Cloud Customer Edge are documented private-origin options that are still pending my trial. Documented is not the same as tested, and the scorecard keeps them apart.

Three caveats keep this rung honest:

A tunnel does not replace the edge's L7 controls. Floods that look like real users still arrive through the edge, and rate rules that count by the right key still decide what gets through. The per-vendor rule syntax is in API Hardening, and the layer-by-layer view is in Layered API Hardening.

A related model that is not a tunnel

Radware Cloud SecurePath works differently: the on-premises Alteon sends a copy of each request over a sideband connection to Radware's Cloud WAF and enforces the verdict it gets back locally. That makes it an inspection model rather than a private path, so it is not rung 5. Sources: Radware, Alteon release notes.

The ladder at a glance

RungEdge bypassL3/L4 flood on the origin linkGap at attack start
0. Public origin, no edgeNo edge to bypassOpenNot applicable
1. CDN in front, origin reachableOpenOpenNot applicable
2. Origin only talks to the edgeClosedOpenNot applicable
3. Plus on-demand scrubbingClosedDefended after diversionMinutes until diversion
4. Plus always-on scrubbingClosedDefendedNone
5. No public originClosedNo public targetNone

What each vendor offers for each rung

From DDactic's vendor capability matrix, built from each vendor's own documentation. "Unknown" means I could not confirm it either way from public docs, not that it is missing. DDactic's vendor-fit check recommends a vendor's private path first and its allowlist second, the same order as this ladder.

VendorRung 5: private origin pathRung 2: origin allowlistRungs 3-4: BGP scrubbing of your prefixesL3/L4 proxy without your own prefix
AkamaiUnknownIncluded (App & API Protector)Add-on (Prolexic)Add-on (Prolexic)
Amazon Web ServicesIncluded (Amazon CloudFront)Included (Amazon CloudFront)Not availableIncluded (AWS Global Accelerator)
Check PointNot availableIncluded (CloudGuard WAF SaaS Advanced)Included (DDoS Protector Cloud Service)Unknown
CitrixNot availableNot availableNot availableNot available
CloudflareIncluded (Free)Included (Free)Add-on (Enterprise)Add-on (Pro)
DDoS-GuardNot availableUnknownAdd-on (Enterprise)Included (Personal)
F5Included (F5 Distributed Cloud)Included (F5 Distributed Cloud)Add-on (XC DDoS Mitigation Routed)Included (F5 Distributed Cloud)
FastlyAdd-on (Enterprise)Included (Free)Add-on (Enterprise)Not available
FortinetNot availableUnknownNot availableNot available
GcoreAdd-on (CDN Enterprise)Included (CDN PAYG)Included (L3/4 DDoS Protection PAYG)Included (Edge Proxy)
Google CloudIncluded (Standard network DDoS protection)Included (Standard network DDoS protection)Not availableIncluded (Standard network DDoS protection)
ImpervaUnknownIncluded (Cloud WAF)Add-on (DDoS Protection for Networks)Add-on (DDoS Protection for Individual IPs)
LumenNot availableNot availableIncluded (DDoS Hyper)Included (DDoS Hyper)
Microsoft AzureIncluded (Azure Front Door Premium)Included (Azure Front Door Standard)Not availableNot available
NETSCOUTNot availableUnknownIncluded (Arbor Cloud DDoS Protection)Unknown
RadwareUnknownIncluded (Cloud WAF Service)Add-on (Cloud DDoS Protection Service)Unknown
SucuriNot availableIncluded (Basic)Not availableNot available
VercaraUnknownUnknownIncluded (UltraDDoS Protect)Included (UltraDDoS Protect)

Three patterns stand out in that table:

One footnote on the last column: Cloudflare's L3/L4 proxy on Pro and Business covers a few named protocols only, and arbitrary TCP or UDP needs Enterprise.

What climbing costs

Where vendors publish prices, here they are. Where they don't, I say so.

OptionPublished priceSource
Cloudflare Tunnel (rung 5)Included on all Cloudflare plans, including FreeCloudflare docs
AWS CloudFront VPC origins (rung 5)No additional charge; standard CloudFront transfer and request charges applyAWS
Azure Front Door Premium with Private Link origins (rung 5)$330/month base fee, versus $35/month for StandardAzure pricing
F5 Distributed Cloud Customer Edge (rung 5)Not public; sold per node and metered by node hourF5 billing FAQ
Gcore L3/L4 DDoS ProtectionFree pay-as-you-go tier; paid plans priced on committed clean traffic, from $275/month at 100 Mbps (the page also lists differing EUR figures)Gcore
AWS Shield Advanced (AWS resources only)$3,000/month per organization, one-year commitment, plus data transferAWS pricing
BGP scrubbing of your own prefixes (rungs 3 and 4)No public list prices that I found; quoted on contractn/a

On the platforms that publish prices, a private path for HTTP APIs runs from free to a few hundred dollars a month. Defending the origin's link itself, rungs 3 and 4, is where commits and contracts begin.

Legacy estates: climbing without a rebuild

Most estates can't move every origin behind a private tunnel this quarter, or fund always-on scrubbing for everything. The good news is that the ladder doesn't have to be climbed all at once, and the cheapest steps cover a lot of ground. In order of effort:

  1. Configuration only: lock the origin to the edge. Allowlist the edge ranges at the origin firewall, then add the per-profile header or client-certificate check. Remove public records that still point at the origin, and move the origin to a fresh address. This takes most API origins from rung 1 to rung 2 without new contracts.
  2. A contract: on-demand scrubbing with a rehearsed diversion. If you own address space, BGP diversion is available from most scrubbing providers. Pre-build the return tunnels and run a diversion drill, so the first diversion isn't also the first attack. Without your own block, look at the anycast proxy products for the few addresses that matter.
  3. Tunnels where they fit first: HTTP APIs. API hostnames are the easiest workloads to move onto a private path, and in the data above most of them aren't behind an edge yet. Move them first, and leave legacy protocols such as SIP, VPN concentrators or custom TCP services on scrubbing.
  4. Always-on where the math says so. When an hour of an API's downtime costs more than the gap between on-demand and always-on pricing, the diversion gap is the expensive part. The downtime calculator gives a first estimate.

And then the forum thread's point applies in full: once traffic has to pass the edge, ship the edge rules with the deployment, in the same pull request as the endpoint they protect.

What passive scanning can and can't tell you

From outside, I can see rung 0 and rung 1 clearly: where a hostname resolves, and often where its origin really lives. Tunnels are only sometimes visible: some tunnel and zero-trust access setups leave a fingerprint, and the Open Protection Index counts those hosts as not origin-exposed, but often a tunneled hostname looks like any other edge hostname. On-demand scrubbing (it only appears during an attack) and an appliance behind the link stay invisible. So a passive scan can tell you how many of your API hostnames sit on the bottom two rungs. Telling rung 2 from rung 5, or proving that diversion actually works, takes an authorized test.

Five questions for your own APIs

  1. Which rung is each production API hostname on today?
  2. For hostnames on rung 1: is the origin address in historical DNS or certificate logs?
  3. If you allowlist edge ranges, do you also verify that requests came through your own edge configuration?
  4. If you rely on on-demand scrubbing, when did you last time a diversion end to end?
  5. For hostnames on a private path: how many connectors, where, and sized for what?

Scan Your Own Attack Surface

DDactic's free passive scan maps your external attack surface against our 101-vector catalog and scores your vendor coverage via the Open Protection Index. No login required, no VMs deployed, no authorization needed for the scan itself.

Run a Free Scan
Origin Protection API Security CDN Scrubbing Private Tunnel Origin Allowlist BGP Diversion DDoS Protection