2015-03-01から1ヶ月間の記事一覧

headerとreadfileを使って画像を出すときは

PHP

header('X-Content-Type-Options: nosniff'); を呼び出して置かないとIEで脆弱性が発生する可能性あり。 https://msdn.microsoft.com/ja-jp/library/ie/gg622941%28v=vs.85%29.aspx http://swdyh.tumblr.com/post/50154551190/nosniff