TL;DR
TL;DR
Supabase security centers on Row Level Security (RLS). Before launch, enable RLS on ALL tables, verify each policy works correctly, never expose the service_role key, test that users can only access their own data, and configure auth settings for your use case.
Row Level Security (RLS) 6
::checklist-item{label="Check for overly permissive policies" description="Policies with "true" allow everyone. Only use intentionally."} ::
API Keys 4
Authentication 4
Additional Security 4
What should I check before launching with Supabase?
Before launching with Supabase, verify RLS is enabled on ALL tables, review each RLS policy, ensure the service_role key is never exposed to clients, test data isolation between users, and configure auth settings appropriately.
::
Is it safe to use the Supabase anon key in the browser?
Yes, the anon key is designed for client-side use. It only provides access that your RLS policies allow. The service_role key bypasses RLS and must never be exposed to clients.
::
Scan Your Supabase App
We check RLS policies, exposed keys, and more.
Start Free Scan