<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hiromi2424</author_name>
  <author_url>https://blog.hatena.ne.jp/hiromi2424/</author_url>
  <blog_title>２４時間CakePHP</blog_title>
  <blog_url>https://hiromi2424.hatenadiary.org/</blog_url>
  <categories>
    <anon>Component</anon>
    <anon>Auth</anon>
    <anon>Cookie</anon>
    <anon>Tips</anon>
  </categories>
  <description>注意 この実装はクッキーにユーザ名とパスワードを保持させていますが、パスワードを保持させるのは大変危険なので、実際のアプリケーションで動かす場合は時限つきAuthorizeトークンを発行してそれを保持させる実装にするなど、クッキー盗聴対応を必ずしましょう。 トークンを使う実装に修正しました。(16:25) この実装は、クッキー盗聴対策のため、トークンを発行し、それをクッキーに保存します。 CakePHPのクッキーコンポーネントは賢く、Security.ciperSeedというキーを元に復号可能な暗号化をクッキーに対し施しているため、直に読めることはないのですが、それでも解析されたら丸見えになり…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhiromi2424.hatenadiary.org%2Fentry%2F20100610%2F1276147639&quot; title=&quot;気絶するほど簡単な自動ログインの実装 - ２４時間CakePHP&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>2010-06-10 14:27:19</published>
  <title>気絶するほど簡単な自動ログインの実装</title>
  <type>rich</type>
  <url>https://hiromi2424.hatenadiary.org/entry/20100610/1276147639</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
