I have expressed a preference for row-level security (RLS) in the context of Postgres tenant isolation, in a brief reply to a PlanetScale post.
Replying to the post, I wrote, “shoulda just used RLS obv,” expressing my preference for RLS.
The post discussed tenant-isolation approaches, while my reply advocated RLS rather than elaborating on a comparison among those approaches.
This preference sits in tension with my broader security concerns about RLS, which I have described in application security footguns.
Related: application security footguns, database tradeoffs, graphql adoption and complexity