<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ajiyoshi</author_name>
  <author_url>https://blog.hatena.ne.jp/ajiyoshi/</author_url>
  <blog_title>＊「ふっかつのじゅもんがちがいます。」withぬこ</blog_title>
  <blog_url>https://ajiyoshi.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>繰り返しになりますが、妥当性検証は仕様の問題であってセキュリティ対策ではありません。バリデーションは仕様の問題であってセキュリティ対策ではないとはどういうことか説明します。SQLインジェクションの対策は、1. SQLを文字列結合で作らない 2. プレースホルダを使う です。バリデーションは関係ありません。 簡単な例 Webアプリケーションで郵便番号を指定するフォームを考えましょう。 日本の郵便番号を指定するフォームの設計でよく見るものは大きく分けて2通りあり、上3桁と下4桁を別々に入力させるものと、1つのフォームにまとめて入力させるものです。住所から補完させる設計もありえますがここではおいてお…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fajiyoshi.hatenadiary.org%2Fentry%2F20111201%2F1322717713&quot; title=&quot; 妥当性とは仕様の所作 - SQLインジェクション対策とバリデーション - ＊「ふっかつのじゅもんがちがいます。」withぬこ&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-12-01 14:35:13</published>
  <title> 妥当性とは仕様の所作 - SQLインジェクション対策とバリデーション</title>
  <type>rich</type>
  <url>https://ajiyoshi.hatenadiary.org/entry/20111201/1322717713</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
