<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kayactech</author_name>
  <author_url>https://blog.hatena.ne.jp/kayactech/</author_url>
  <blog_title>KAYAC Engineers' Blog</blog_title>
  <blog_url>https://techblog.kayac.com/</blog_url>
  <categories>
    <anon>php</anon>
    <anon>symfony</anon>
  </categories>
  <description>こんにちは。カヤックモバイル＄のアラガです。 諸事情により.htaccessによるIP制限ができなかったので、symfonyでIP制限するフィルタを作りました。 携帯サイトのキャリア判別は、おなじみのNet_UserAgent_Mobileを使うと簡単ですが、ユーザーエージェントだけでは簡単に偽装できてしまうので、公式サイト等の場合は望ましくないです。 そこで、各キャリアから公開されているIPでも制限をかけます。.htaccessで良ければMobile IP htaccess Makerを使うのが簡単です。 しかし、リバースプロキシを使っていると、IPが経由サーバーのIPになってしまい、元のI…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftechblog.kayac.com%2Fsymfony-ip-filter.html&quot; title=&quot;SymfonyでIP制限するフィルター作りました - KAYAC Engineers&amp;#39; Blog&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-10-07 09:00:00</published>
  <title>SymfonyでIP制限するフィルター作りました</title>
  <type>rich</type>
  <url>https://techblog.kayac.com/symfony-ip-filter.html</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
