Manual3. Security

3. Security

Supabase exposes tables through an API that the browser can call. Row level security decides which rows each caller may read or change.

RuleSource
A table in an exposed schema without row level security is readable and writable by any role with a grant on it.Supabase documentation.
Enable row level security on every table in an exposed schema.Supabase documentation.
The anon and authenticated roles receive every privilege by default; each should keep only what the application needs.Supabase documentation.
The service key bypasses row level security and never reaches a browser.The firm's practice.
Passwords and keys live in a secrets store, never in the repository or a note.The firm's practice.

A policy is tested as the role it restricts. A query that works for the service key proves nothing about what a signed-out visitor can see.

Verified November 27, 2026 against Supabase's documentation and the firm's records. References

Wetware Labs is a Kansas City software and search marketing firm. We run search programs for service businesses: technical health, local search, content and AI search.

Start with an audit