0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

OPTIONSメソッドを無効化する

Posted at

OPTIONSメソッドが有効になっていることで、そのサーバーで使用可能なメソッドを確認後、メソッドを利用した攻撃を受ける可能性が高くなります。
OPTIONメソッドを利用しないのであれば無効にしておきましょう。

[利用した環境]

  • Windows Server 2016
  • Internet Information Service

OPTIONSメソッドを無効化する

  1. Internet Information Serviceを起動します
  2. 「サーバー」→「構成エディター」をダブルクリックします
    002.png
  3. 「構成エディター」画面の「セクション」プルダウンから「system.webServer/security/requestFiltering」を選択します
    003.png
  4. 「verbs」を選択し「コレクション エディター」画面を表示させます
    004.png
  5. 「追加」をクリックし、verbsに「OPTIONS」、allowedに「True」を設定し「コレクション エディター」画面を閉じます
    006.png
  6. 「適用」をクリックします
    007.png
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?