<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mTakata</author_name>
  <author_url>https://blog.hatena.ne.jp/mTakata/</author_url>
  <blog_title>Sun~sun~Flower's</blog_title>
  <blog_url>https://www.sunsunflowers.com/</blog_url>
  <categories>
    <anon>IT・プログラミング</anon>
  </categories>
  <description>こんにちは。 当ページにアクセスして下さり、ありがとうございます。 この記事は、悪意のある攻撃としてあげられる、CSRF（成りすまし）。 それをプログラミング言語「Ruby」のフレームワーク「Rails」で、どう防げるかについての記事になります。 例題を用いつつ、解説致しますね。 【例題】 Railsには、悪意のある攻撃に対してセキュリティを高める仕組みが様々用意されています。 CSRFと呼ばれるサイトの成りすましによるクラッキングに対して、どのような対策が取られているか述べてください。 【回答】 ApplicationControllerにデフォルトでは、 protect_from_forg…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.sunsunflowers.com%2Fentry%2Fit%2Frails-about-csrf&quot; title=&quot;【Railsアプリケーション】CSRFによる成りすましの対策 - Sun~sun~Flower&amp;#39;s&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>https://cdn-ak.f.st-hatena.com/images/fotolife/m/mTakata/20200407/20200407134850.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-04-09 10:00:00</published>
  <title>【Railsアプリケーション】CSRFによる成りすましの対策</title>
  <type>rich</type>
  <url>https://www.sunsunflowers.com/entry/it/rails-about-csrf</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
