Generate Row Level Security policies for your Supabase tables. Select your table and access pattern, get copy-paste SQL.
83% of exposed Supabase databases involve RLS misconfigurations
The name of your Supabase table (e.g., profiles, orders, messages)
How should users be able to access rows in this table?
The column that stores the user's ID (must match auth.uid())
Copy the generated SQL and paste it into your Supabase SQL Editor (Dashboard → SQL Editor → New Query). Run it to enable RLS and create your policies. Then test by querying the table with just the anon key to verify it works.
Want to verify your RLS is working? Scan your site for free and we'll check automatically.