<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ryster</author_name>
  <author_url>https://blog.hatena.ne.jp/ryster/</author_url>
  <blog_title>覇王色を求めて</blog_title>
  <blog_url>https://ryster.hatenadiary.org/</blog_url>
  <categories>
    <anon>PHP</anon>
  </categories>
  <description>正確にはcookieを使う際には、HttpOnlyを指定しよう。 php 5.2.0よりsetcookieにhttponly引数が追加されています。CookieのHttpOnlyについては以下参照HttpCookie.HttpOnly プロパティ (System.Web)同じくPHP 5.2.0よりSessionでもこれが可能になっています。以下参照。 クッキーに対して、HTTP を通してのみアクセスできるようにします。 つまり、JavaScript のようなスクリプト言語からはアクセスできなくなるということです。 この設定を使用すると、XSS 攻撃によって ID を盗まれる危険性を減らせます…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fryster.hatenadiary.org%2Fentry%2F20080229%2F1204304780&quot; title=&quot;sessionを使う時はHttpOnlyを指定しよう - 覇王色を求めて&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>2008-02-29 02:06:20</published>
  <title>sessionを使う時はHttpOnlyを指定しよう</title>
  <type>rich</type>
  <url>https://ryster.hatenadiary.org/entry/20080229/1204304780</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
