← Knowledge Base

Enterprise Security, DDoS Loss Caps & Zero-Downtime API Key Rotation

How DielineGrid protects physical packaging uptime, blocks phishing & volumetric floods at the Cloudflare edge, and meets global enterprise security review standards.

1. Two-Plane Blast-Radius Isolation

The Control Plane (dielinegrid.com — Auth, D1 SQLite, Dashboard, /api/v1/*) is strictly isolated from the Data Plane (prfqr.com + customer subdomains like qr.yourbrand.com). The Data Plane reads exclusively from globally replicated Workers KV and per-PoP Edge Cache — so even during Control Plane maintenance or API spikes, 100% of printed packaging codes continue resolving at <30ms.

2. DDoS, 404 Spray & Worst-Case Loss Caps

  • Edge-First WAF & Rate Limiting: Volumetric floods are dropped at Cloudflare’s edge before invoking Workers.
  • Negative 404 Caching: Unknown paths are cached in PoP caches.default for 60 seconds so random-path spray attacks cannot amplify KV reads.
  • Per-Workspace Hard Quotas: Every workspace enforces daily API request caps returning 429 Too Many Requests + Retry-After, isolating misconfigured ERP loops.

3. Tiered Sandbox Interstitial (Anti-Phishing Guard)

To keep shared domains clean of phishing ("quishing"), unverified self-serve workspaces are limited to 10 test routes, blocked from chaining URL shorteners, and served through a transparent 2-second Sandbox Preview interstitial showing the exact target hostname. Verifying a brand subdomain via DNS TXT automatically unlocks silent <30ms HTTP 302 redirects.

4. Prefix-Tagged Keys, Peppered SHA-256 & Dual-Key Rotation

API keys carry clear prefixes (dlg_live_ / dlg_test_) for automated secret scanning in GitHub/CI, are never stored in plaintext (peppered SHA-256 at rest), enforce granular scopes, and support Zero-Downtime Dual-Key Rotation via POST /api/v1/keys/:id/rotate with selectable 1h, 24h, or 168h grace windows plus instant emergency revocation (DELETE /api/v1/keys/:id).

5. Day-1 Anti-Hostage Sovereign Exit

Enterprise procurement never has to accept permanent vendor lock-in. Call GET /api/v1/export/worker?format=js at any time to download a standalone, zero-dependency Cloudflare Worker script containing your entire routing table, ready to deploy on your own Cloudflare account in minutes.

Explore Interactive API Docs → Issue & Rotate a Sandbox Key