Row Level Security disabled on Supabase tables
Quick answer: Supabase gives your browser a public anon key. That's safe only if Row Level Security (RLS) is on, with policies, for every table that holds user data.
Last updated November 12, 2026
Steps
- In the Supabase dashboard, open Table Editor and check whether RLS is enabled on each table.
- Run the Security Advisor, which flags tables without RLS.
- Enable RLS on every public-schema table.
- Add policies such as using (auth.uid() = user_id) for select, update and delete, plus a with check for insert.
- Test by querying as a second test user.
Why it matters
This is a common failure pattern in apps built quickly with AI coding tools. The steps above check your own app only. Never test apps you don't own.
Related patterns
Found a problem you'd rather not fix yourself?
Tell us what's wrong. A StorenTech engineer reviews your app and replies with a fixed quote, so you know the cost before any work starts.
Get it fixed by StorenTechVibe Security Weekly
One email a week with new failure patterns and how to fix them.
By joining you agree we may email you this newsletter. See our privacy policy. Free. Unsubscribe anytime. We'll never sell your email.