Original article excerpt
Server-side extracted preview paragraphs from the original source.
Row-level security restricts which rows a user can view or change in a table based on identity, role or context. Learn how RLS works and where it helps.
Row-level security (RLS) is a database access control that limits which rows of a table a user can read or change based on their identity, role or session context.
Instead of restricting access to whole tables or specific columns, RLS filters data row by row. The database engine applies the filter automatically at query time, so the same rule holds no matter which tool the user uses to access the data.
