TL;DR: Row Level Security (RLS) in Supabase is the difference between a social app that is secure by default and one that leaks user data the moment someone opens the browser console. I run a TikTok-style short-video app, SARAIKI STAR, on Supabase with 140 videos, likes, comments, follows, and live streams — all protected by RLS policies on 12 tables. The rules that matter most: enable RLS on every table before your first user signs up, write policies around auth.uid() , keep public reads narrow, and never trust the client to enforce permissions.
Why RLS is not optional for a social app
A short-video app is a worst case for security. Every user can read almost everything (public videos, profiles, comments) but should only write their own rows. If your database has no row-level rules, anyone with your Supabase anon key — which is public by design, it ships inside your app — can read, insert, update, or delete anything your API allows.…