<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kaigai</author_name>
  <author_url>https://blog.hatena.ne.jp/kaigai/</author_url>
  <blog_title>KaiGaiの俺メモ</blog_title>
  <blog_url>https://kaigai.hatenablog.com/</blog_url>
  <categories>
    <anon>OSS/Linux</anon>
  </categories>
  <description>SELinuxとは関係のない、RDBMSでのセキュリティのお話。利用者に対して、テーブルに対する直接のアクセス権を与えず、特定のビューを通してだけアクセスを許可するのは、行レベルのアクセス制御でよく使われるテクニックである。 つまり、ビューは不可視であるタプルをフィルタリングする役割を持つ。しかし、これで万全かというと、そうではない。 クエリ最適化を上手く利用することで、利用者が見えないはずのタプルを参照する事は可能である。以下の例を見て頂きたい。 postgres=# CREATE TABLE T1 (id int, name text); CREATE TABLE postgres=# C…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkaigai.hatenablog.com%2Fentry%2F20110515%2F1305466803&quot; title=&quot; Leaky VIEW まとめ - KaiGaiの俺メモ&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>2011-05-15 22:40:03</published>
  <title> Leaky VIEW まとめ</title>
  <type>rich</type>
  <url>https://kaigai.hatenablog.com/entry/20110515/1305466803</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
