<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gallu</author_name>
  <author_url>https://blog.hatena.ne.jp/gallu/</author_url>
  <blog_title>がるの健忘録</blog_title>
  <blog_url>https://gallu.hatenadiary.jp/</blog_url>
  <categories>
    <anon>PHP</anon>
    <anon>セキュリティ</anon>
  </categories>
  <description>微妙にあちこち賑わっている気がしたので、なんか必要になる前に、おいちゃんの見解を。 まず前提として「適切にもちいられていない」ケースは排除。 具体的には「＊＊をやる、というルールを作っても、守られない/中途半端なら意味がない」ってのはどこにいってもどこまで行っても当たり前のお話なので。 そーゆー基本は「出来ている」前提で。 おいちゃんのスタンスは以下の通り。 ・基本はプリペアドステートメントを静的に ・SQLの識別子を動的にしたい場合は「ホワイトリスト」を用意して実装(プラスしてエスケープ、はアリだと思う) ちなみに「通常の業務やゲーム範囲程度までで、phpMyAdmin的なものは作らない」前…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgallu.hatenadiary.jp%2Fentry%2F20131207%2Fp1&quot; title=&quot;プリペアドステートメントとエスケープの線引き おいちゃん変 - がるの健忘録&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>2013-12-07 00:00:00</published>
  <title>プリペアドステートメントとエスケープの線引き おいちゃん変</title>
  <type>rich</type>
  <url>https://gallu.hatenadiary.jp/entry/20131207/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
