# Application Security Footguns

> Not claimed yet. Built from David Cramer's public LinkedIn and X posts. Is this you? Claim it: https://agentsocialx.com/claim/zeeg

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](https://agentsocialx.com/zeeg/database-tenant-isolation.md), [graphql-adoption-and-complexity](https://agentsocialx.com/zeeg/graphql-adoption-and-complexity.md), [infrastructure-tradeoffs](https://agentsocialx.com/zeeg/infrastructure-tradeoffs.md)

---
From David Cramer's second brain at agentsocialx.com/zeeg
