This policy establishes the controls that govern how access to VendorIntel's production systems, administrative interfaces, and sensitive customer data is granted, maintained, reviewed, and revoked. The objective is to enforce the principle of least privilege โ every identity receives only the minimum access required to perform its function, and no more.
This policy applies to:
/internal-* routes of the VRM application.VendorIntel's access architecture is built on five principles:
/internal-* admin pages) are protected by multiple independent layers (Cloudflare edge rules + Supabase Auth + application-level staff check + database Row-Level Security).franchisor, vendor, staff) are separated and enforced at the database level, not at the application level.VendorIntel currently has one named individual with access to production systems: the Founder (Danielle Page).
When the first additional operator (employee, contractor, advisor) is engaged, this policy will be updated within 30 days to document role-based tiers, onboarding procedures, and background-check standards.
| Control | Implementation |
|---|---|
| Multi-factor authentication (MFA) | Required and enabled on every production account: Supabase Dashboard, Cloudflare Dashboard, Stripe Dashboard, Sentry, and the email account(s) used for @vendorintel.ai and @alphabposolutions.com correspondence. MFA factor: TOTP authenticator app. |
| Unique high-entropy passwords | Generated by and stored in Bitwarden password manager. No password re-use across production accounts. |
| Device-level encryption | Full-disk encryption (Apple FileVault / Microsoft BitLocker) enforced on the primary workstation used to access production systems. |
| Screen-lock discipline | Workstation is locked when unattended. |
| No shared accounts | Each person who has access to any production system has their own account. No account credentials are shared between individuals. |
A new operator receives production access only after:
The Founder conducts a documented access review at least every 90 days. Each review verifies:
Review notes are retained for at least 3 years.
| Control | Implementation |
|---|---|
| Password-based login | Minimum 8 characters; hashed server-side with bcrypt by Supabase Auth. |
| Magic-link login | Available as an alternative to password; reduces phishing surface. |
| Session tokens | JWTs issued by Supabase Auth with short default TTL and refresh-token rotation. |
| Password reset | Standard email-link flow; one-time-use reset tokens with short expiry. |
| MFA for customers | Not currently required on general customer accounts. Will be required as a precondition for the Plaid integration (customers must enroll a TOTP MFA factor before the "Connect bank via Plaid" UI is surfaced). Implementation on roadmap prior to Plaid go-live. |
Three distinct user types are enforced by VRM, backed by the vrm_users.user_type column:
| Role | Who | What they can access |
|---|---|---|
franchisor | Program Owner customer (franchisor HQ, buying group, holding company) | Their own vrm_contracts, vrm_billed_transactions, vrm_revenue_share_records, vrm_scoring_snapshots, vrm_programs, vrm_members. Cannot see any other customer's data. |
vendor | Marketplace vendor account | Their own vi_vendor_accounts row, vi_contracts where they are the counter-party, vi_rfp_responses they authored. Cannot see other vendors or other franchisors' private data. |
staff | VendorIntel operator (flagged by vrm_users.is_staff = true) | Read-only or administrative access to internal moderation tables and the /internal-* routes. Enforced at both the Cloudflare edge layer and the application layer. |
Role assignment is immutable through the application UI โ only the staff role (via direct Supabase access by the Founder) can change a user's user_type.
Every customer-data-bearing Postgres table has Row-Level Security policies that:
USING or WITH CHECK policy grants access.auth.uid() โ a franchisor can only read rows where the owning customer ID matches their authenticated user ID.Tables with RLS enforced (non-exhaustive):
vrm_users, vrm_leads, vrm_contracts, vrm_contract_terms, vrm_contract_terms_audit, vrm_contract_documents, vrm_contract_rev_share_splits, vrm_billed_transactions, vrm_compliance_records, vrm_revenue_share_records, vrm_scoring_snapshots, vrm_programs, vrm_membersvi_vendor_accounts, vi_contracts, vi_threads, vi_messages, vi_notifications, vi_rfps, vi_rfp_responses, vi_rfp_playbooks, vi_vip_invitessecurity@vendorintel.ai or hello@vendorintel.ai. Data is deleted from Supabase (cascade) within 30 days of request, except where retention is required for legal, tax, or audit reasons (billing records retained per Terms of Service / Privacy Policy)./internal-* pages)VendorIntel's internal administrative pages are protected by three independent layers:
The following routes are gated at the Cloudflare edge by an email allowlist enforced before any HTML or JavaScript is served:
/internal.html /internal-leads.html /internal-pipeline.html /internal-company-detail.html /internal-vip-invites.html /internal-vendor-directory.html /internal-diagnostics.html /manual.html /gate.html
Current allowlist: danielle@alphabposolutions.com, danielle@vendorintel.ai.
Any request from an identity not on the allowlist receives an HTTP 403 Forbidden response with no HTML, no JavaScript, and no indication of the page's content โ the request terminates at the Cloudflare edge before ever reaching the application.
Even if Layer 1 were bypassed (e.g., by a misconfiguration), the pages themselves call VI_STAFF_AUTH.requireStaff() on load, which:
vrm_users row.is_staff === true./gate.html?reason=staff_only if either check fails.Even if Layers 1 and 2 were both bypassed, the sensitive tables that internal pages query (vrm_leads, vi_vip_invites, vi_vendor_accounts, pipeline tables) have RLS policies that require is_staff = true on the requesting user. A non-staff authenticated request would receive zero rows from Postgres.
This defense-in-depth structure ensures that a single misconfiguration (e.g., Cloudflare access rules temporarily lapsing due to a billing issue) does not expose internal data, and that a single application bug cannot bypass tenant isolation at the database.
| Credential type | Issuer | Stored in | Rotated |
|---|---|---|---|
| Supabase service_role key | Supabase | Supabase project secrets (never in Git) | On key compromise or every 365 days |
| Supabase anon key | Supabase | Public (safe to expose โ RLS enforces security) | Not routinely rotated |
| Cloudflare API token | Cloudflare | Deploy-time env var | On personnel change or every 180 days |
| Stripe secret key | Stripe | Supabase project secrets | On personnel change or every 365 days |
| Stripe webhook signing secret | Stripe | Supabase project secrets (planned) | On endpoint change |
| Sentry DSN | Sentry | Public script tag (safe by design) | On compromise only |
| Plaid client_id + secret (planned) | Plaid | Supabase project secrets | Per Plaid's rotation policy |
anon key and the public Sentry DSN appear in browser-delivered code (both are safe by design).All machine-to-machine traffic between VRM and its sub-processors (Supabase, Cloudflare, Stripe, Sentry, planned Plaid) is encrypted with TLS 1.2 or higher โ in practice TLS 1.3 by default. There is no plaintext API traffic in or out of the system.
| Event type | Where logged | Retention |
|---|---|---|
| Customer login success / failure | Supabase Auth logs | Per Supabase retention (typically 30 days on free/pro tier) |
Admin UI access (/internal-*) | Cloudflare Workers request logs (via Hosted Access Rules enforcement) | Per Cloudflare retention |
| Database query (RLS-enforced) | Supabase logs | Per Supabase retention |
| Security-impacting application error | Sentry | Per Sentry retention plan |
| Contract-term changes | vrm_contract_terms_audit table, SECURITY DEFINER trigger | Indefinite (application-level audit log) |
Review of access logs is conducted:
Any deviation from this policy must be approved in writing by the Founder, documented with:
Exceptions are reviewed at each quarterly access review and retired as soon as the justification no longer applies.
Violations of this policy โ including unauthorized sharing of credentials, bypassing MFA, failure to lock a workstation, or storing production secrets outside approved secret stores โ are grounds for immediate revocation of production access and, where applicable, termination of the employment or contractor relationship.
This policy is reviewed:
| Version | Date | Author | Summary |
|---|---|---|---|
| 1.0 | 2026-11-04 | Danielle Page | Initial Access Control Policy โ separated from Information Security Policy ยง5 for detailed external review. |
VendorIntel LLC โ Security Contact
Primary: security@vendorintel.ai (dedicated, monitored security inbox)
General / fallback: hello@vendorintel.ai
Response SLA: one business day for routine; immediate for incidents