I see row-level security (RLS) as a potentially dangerous security design choice, especially when its complexity is exposed to less technical users. My view is that it belongs as defense-in-depth, not as the primary authorization control.
I said, “RLS was a mistake,” including in Firebase and Supabase, and predicted it would be a mistake in the next product too.
Even knowing how to secure RLS, I said I would never touch it.
I described RLS as the worst security footgun I could imagine, warning: “One small mistake and your data is available to the world.”
In response to an allegation about a Lovable breach, I said, “Not sure if this is related but it wouldn’t surprise me.”
I endorsed using RLS or similar constraint systems primarily for defense-in-depth, not as the primary control mechanism.
Related: database tenant isolation, graphql adoption and complexity, infrastructure tradeoffs