Tenant-aware access
Customer users can manage their own sites and add additional sites under their account, while sites owned by other accounts remain hidden and unavailable.
Lean Cookie Consent is designed to give customers a hosted consent layer without exposing admin capabilities on their websites. This page summarizes the main controls applied across the platform, snippet, APIs, release process and production infrastructure.
Access boundaries are enforced server-side, not only through menu visibility or client-side navigation.
Customer users can manage their own sites and add additional sites under their account, while sites owned by other accounts remain hidden and unavailable.
Founder-only areas such as global operational views, mission control and backup controls are separated from Pro-user workspaces.
Sensitive form submissions across login, registration, reset, admin and client pages are protected by a central CSRF guard.
Sensitive pages use no-store cache headers, HTTPS enforcement in production and hardened password reset behavior.
Rate limits protect registration, site creation, beta invitations, password reset and account-related flows from automated abuse.
A dedicated security matrix verifies owner versus Pro-user behavior, assigned-site versus foreign-site access and protected endpoint behavior.
The snippet is meant to run on customer websites, so it has to be lightweight and tightly scoped.
Each website uses a distinct site key, domain profile, policy version and consent evidence trail.
Configurable colors, font values and policy URLs are validated before being inserted into the page.
When scripts are released after consent, only allowlisted safe attributes are copied. Inline handlers and unsafe URL schemes are not copied.
Consent API requests are bound to the configured website domain through Origin and CORS checks.
Scanner URL handling blocks private ranges, localhost, unsupported schemes and unsafe redirects.
Acquisition and visit tracking accepts only bounded, sanitized fields rather than arbitrary payloads.
Consent evidence should be useful for operations without leaking unnecessary secrets or sensitive runtime material.
Records include choices, policy version, banner version, domain and timestamp. Technical identifiers are pseudonymized where supported.
CSV exports are protected against spreadsheet formula injection, and downloadable backups are redacted.
Production packages exclude runtime secrets, generated passwords, databases, logs, backups, tests and local scripts.
The production document root points to public runtime files while private configuration and data stay outside public web exposure.
Security headers include content-type protection, referrer policy, permissions policy, HSTS on HTTPS, CSP and framing restrictions where applicable.
Expired reset records, rate-limit records and operational logs are cleaned through retention routines.
Production access and network exposure are intentionally narrow. The public website and app are checked after deploys and reboots for service health, TLS readiness, firewall posture and security headers.
Security is not treated as finished. Current next steps are periodic checks, external baseline scans after major releases, restore testing and broader business-logic abuse testing.