<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gissy33</author_name>
  <author_url>https://blog.hatena.ne.jp/gissy33/</author_url>
  <blog_title>ROXX開発者ブログ</blog_title>
  <blog_url>https://techblog.roxx.co.jp/</blog_url>
  <categories>
  </categories>
  <description>この記事は個人ブログと同じ内容です はじめに 「このデータはあのユーザーには見せたくない」「マルチテナントアプリでユーザーには自分の会社のデータだけ表示したい」 データベースを運用していると、こんな悩みが出てくることはありませんか？ PostgreSQL の行レベルセキュリティ (Row Level Security, RLS) は、そんな課題を解決するための機能です。 行レベルセキュリティ (RLS) とは？ 行レベルセキュリティ (RLS) とは、データベースのテーブルに対して、どの行をどのユーザーが表示・操作できるかを細かく制御する仕組みです。 例えば、以下のようなケースで非常に有効です…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftechblog.roxx.co.jp%2Fentry%2F2025%2F05%2F30%2F205553&quot; title=&quot;PostgreSQL Row-Level Security 入門 : 行単位でデータアクセスを制御する方法 - ROXX開発者ブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-05-30 20:55:53</published>
  <title>PostgreSQL Row-Level Security 入門 : 行単位でデータアクセスを制御する方法</title>
  <type>rich</type>
  <url>https://techblog.roxx.co.jp/entry/2025/05/30/205553</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
