Never mistake browser hiding for server security
Using CSS display:none or JavaScript password checks in a static HTML file does not protect private documents—crawlers and browser DevTools still read the underlying static file freely.
Low-gate lead collection vs. true access-controlled portals
Distinguish cleanly between convenience email collection (like unlocking free starter ZIPs cleanly via D1 + Turnstile) versus confidential company portals requiring real login tokens:
- Lead-capture / marketing downloads: D1 subscriber opt-in + signed HMAC receipt.
- Internal company portals & staging sites: Cloudflare Access (Zero Trust) on *.pages.dev or /portal/*.
- Full paid SaaS / member communities: Auth + Cloudflare Workers + private R2 presigned downloads.
Common questions
Is Cloudflare Access free for small internal teams?
Yes—Cloudflare Zero Trust includes generous free user seats for gating staging previews, internal team documentation, or admin tools behind Google/GitHub OTP logins.
How do paid file downloads stay protected without WordPress membership plugins?
Serve marketing pages publicly on Cloudflare Pages, process checkout via Stripe Payment Links, and validate session or webhook tokens inside a Worker reading from a private R2 bucket.
References
Provider interfaces and limits can change. Consult the original documentation before changing production settings.