Security, Tenant Isolation & Support Governance
5-Layer Micro-SaaS Isolation
- Dedicated Subdomain & Host-Pinned Cookies: Every subscriber operates on
<slug>.app.cashcall.iowith__Host-HttpOnly, Secure, SameSite=Lax cookies and strict nonce-based Content-Security-Policy. - Database-per-Subscriber Silos: Each subscribing organization receives an isolated Neon Postgres project plus intra-tenant Row-Level Security for role/location scoping.
- Transport & Envelope Encryption at Rest: All traffic uses TLS 1.3. OAuth refresh tokens, SFTP credentials, and database URLs are encrypted server-side using per-tenant AWS KMS Data Encryption Keys bound to
EncryptionContext{tenant_id}. Server-side encryption enables automated invoice OCR, QuickBooks sync, and 7:00 AM WhatsApp briefs. - Private STS Document Vault: Invoice PDFs and receipts reside in a private S3 SSE-KMS bucket accessed exclusively via 900-second AWS STS inline session policies scoped to
tenants/<tenant_id>/*. - Consent-Gated Support Access: Internal staff cannot access customer dashboards by default. Owners may grant time-boxed, read-only 2-hour support access below, logged immutably in your tenant security audit trail.