2min chapter

React Round Up cover image

Supabase and Supabase Studio with Vijit Ail - RRU 201

React Round Up

CHAPTER

How to Write RLS Rules in the Database?

The service role key is like a master key to your application. The public key can have by default has access to all your database. To prevent that, you have to write RLS rules in the database. So for each one of those, we have certain roles in RLS. For example, you can prevent you can avoid an update on a particular table,. On the authorization key or let's say you can also prevent a user from updating another users' data.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode