- Void Platform edge protection combines Cloudflare Access, credential scoping, and domain access controls at the network edge.
- Separate identity layers: user login sessions, project credentials, CI tokens, and administrator tokens are distinct and must not be mixed.
- Least privilege first: scope every credential to one project or environment, and rotate when ownership changes.
- Domain-level controls: verify DNS, HTTPS coverage, and routing before exposing a platform surface publicly.
- CI secrets stay out of repos: store them in the CI provider's encrypted secret store and expose them only to the deployment job.
What Void Platform Edge Protection Covers
Void Platform runs on Cloudflare infrastructure, which means the network edge is where most access decisions happen. Edge protection is the practice of controlling who can reach your platform surfaces, applications, and administrative interfaces before requests ever reach your deployment. Based on the official platform administration references, protection spans identity, routing, credentials, and environment configuration.
The core principle is layering. A single login wall is not edge protection. A defensible setup combines:
| Layer | Control | Protects Against |
|---|---|---|
| Cloudflare Access | Identity-aware proxy in front of apps and admin surfaces | Unauthenticated public exposure |
| Platform authentication | User sessions, admin accounts, OIDC login | Unauthorized platform actions |
| Project credentials | Scoped deployment and integration keys | Credential reuse across projects |
| Domain configuration | DNS, HTTPS, wildcard routing rules | Route hijacking and conflicts |
| Secrets handling | Encrypted CI storage, no repo commits | Leaked keys in source control |
Design your access model at the edge before adding application-level features. Retrofitting Cloudflare Access or rotating shared credentials after launch is significantly more disruptive than planning them during platform installation.
Identity Layers and Credential Types
Void Platform authentication involves several distinct identity concepts, and confusing them is the most common security mistake. According to the authentication documentation, each credential type serves a different purpose.
User Login Sessions
- Represents one individual for interactive CLI work
- Suitable for local development and inspection
- Never share between team members
Project Credentials
- Scoped to a specific project or environment
- Used by deployment workflows and integrations
- Rotate when ownership changes
Administrator Tokens
- Platform-wide access for automation and admin tasks
- Keep separate from app and CI credentials
- Reserve for tasks that truly need broad scope
| Identity Type | Scope | Storage Guidance | Rotation Trigger |
|---|---|---|---|
| Team member login | Individual user | Browser or CLI session only | Routine policy |
| Project credential | Single project/environment | CI encrypted secrets | Ownership or env change |
| Platform credential | Entire platform | Restricted secret store | After any suspected exposure |
| Cloudflare Access identity | Edge access layer | Managed by Cloudflare | Policy review |
A Cloudflare Access identity is not the same as a Void CLI login, a project credential, or an administrator token. External login via GitHub, Google, or OIDC determines user identity; it does not replace the credentials your CI pipeline needs for deployment.
Step-by-Step: Securing a Void Platform Installation
Follow this sequence when installing or hardening a platform. Each step builds on the previous one, and the order matters because access policies should exist before public domains go live.
Choose the Authentication Method
During installation, select the login method for the platform: GitHub, Google, OIDC, or another configured provider. Confirm this before exposing any public hostname.
Configure the Application Domain
Specify the domain used to access the platform. Use a dedicated production hostname and separate hostnames for staging or preview environments to keep isolation clear.
Add Cloudflare Access in Front of Admin Surfaces
Place an identity-aware access layer in front of administrative interfaces. Coordinate Access policies with Void Platform team membership and project permissions so the two layers agree.
Scope and Store Credentials
Store Cloudflare, database, JWT, R2, and encryption values in the CI provider's encrypted secret store. Expose each value only to the job that needs it, per the CI and credentials guides.
Verify Routing and Certificates
Test every hostname from a clean browser session: production, staging, nested, and workers.dev test addresses. Confirm no wildcard or duplicate route captures traffic intended for another environment.
A completed edge setup passes three checks: HTTPS serves without warnings, Cloudflare Access blocks unauthenticated requests to protected surfaces, and deployment credentials resolve to exactly one project and environment.
Domain and Routing Protection Checklist
Domains are a frequent source of accidental exposure. The domains guide recommends planning DNS, HTTPS, wildcards, and routing together rather than incrementally.
Edge Protection Checklist:
- Confirm each hostname maps to exactly one application and environment
- Verify HTTPS certificate covers the exact hostname users visit
- Review wildcard routes for unintended captures
- Keep staging, preview, and production hostnames separate
- Update OAuth callbacks and webhooks after any domain change
- Restrict workers.dev addresses to testing and validation only
| Risk | Symptom | Prevention |
|---|---|---|
| Duplicate hostname | Traffic reaches wrong environment | Audit hostname assignments across projects |
| Wildcard overreach | Nested hostnames inherit wrong route | Test each nested path separately |
| Certificate gap | Browser warnings on HTTPS | Confirm coverage before production traffic |
| Stale integrations | OAuth or webhook failures after domain change | Update all references before removing old hostname |
Treat a domain change as a simultaneous DNS, certificate, routing, and application configuration update. Add and validate the new domain before removing the old one whenever possible.
Production Security Best Practices
For teams running Void Platform in production, the security posture should follow a small set of durable rules rather than ad hoc fixes.
Least Privilege
- Use project-scoped credentials for ordinary deployments
- Reserve platform credentials for administrative workflows
- Grant the smallest scope required per task
Secret Hygiene
- Classify every variable before storage
- Never print connection strings or signing keys in build logs
- Rotate JWT secrets and encryption keys through a planned process
| Secret Category | Storage | Injection Rule |
|---|---|---|
| Cloudflare credentials | CI encrypted secrets | Deployment step only, target environment only |
| Database config | Environment-specific secrets | Migration or deploy time, staging and prod separate |
| JWT signing secret | Protected environment variables | Only steps requiring auth configuration |
| R2 access keys | Encrypted CI secrets | Per-environment buckets and credentials |
| Project encryption key | Restricted platform config | Deploy or runtime only, never in logs |
When a team member leaves, a project changes hands, or an environment is restructured, rotate project credentials. A value named "environment variable" is not automatically safe; classify it first.
FAQ
Q: What is edge protection in Void Platform?
It is the set of access controls applied at the Cloudflare network edge and platform boundary, including Cloudflare Access policies, authentication configuration, domain routing rules, and scoped credentials. Together these controls decide who can reach a platform surface before requests reach your deployment.
Q: Does Cloudflare Access replace Void Platform authentication?
No. Cloudflare Access adds an identity-aware layer in front of protected applications and administrative surfaces, but it is separate from Void CLI logins, project credentials, and administrator tokens. Coordinate Access policies with platform team membership so the layers stay consistent.
Q: How should CI pipelines authenticate to Void Platform?
Use non-interactive project credentials stored in the CI provider's encrypted secret store, exposed only to the deployment job. Keep staging and production values separate, and prefer project-scoped credentials over platform-wide tokens for ordinary deployments.
Q: Where can I find the official Void Platform security documentation?
The official docs at void.cloud cover platform administration, access control, CI configuration, and credentials. Key pages include the platform administration guide, the CI installation guide, and the credentials reference.