2 min read

Row Level Security for auth in Server Components

I've been going back and forth on whether Row Level Security (RLS) is a good fit for authorization in React Server Components (RSC).

Server Components Auth Best Practices

All of my thinking around this topic is based around a few best practices for auth in server components.

Based on these articles:

The case for RLS

The case against RLS

Tom Sherman

Hey 👋 I'm Tom, a Software Engineer from the UK.

I'm currently a Software Engineer at OVO Energy. I'm super into the web, functional programming, and strong type systems.

You can most easily contact me on Bluesky but I'm also on Twitter, LinkedIn, and GitHub.