LoginSignup
2
1

More than 5 years have passed since last update.

【IIS10】レスポンスヘッダを隠す!【Windowsサーバ2016】

Last updated at Posted at 2017-05-20

はじめに

Windows Server2016で自宅サーバ立ててみたよ!
そしたら、なんかヘッダー情報とか全部丸見えになってるので、ちょっと困る。
04.jpg

なので、隠します。

設定方法

サーバーマネージャーのメニューの、
[ ツール ]>[ インターネットインフォメーションサービス(IIS)マネージャー ]
を選択し、サーバーマネージャーを起動します。


そんでもって、その中の「構成エディター」を起動します。
01.jpg


上のドロップダウンから、「requestFiltering」を選択
02.jpg


removeServerHeaderTrueにします。
03.jpg


で、右側の「適応」を押せばOKです!

結果

見事消えてますね!
05.jpg

参考

Disabilitare le HTTP Response Headers in IIS 10

2
1
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
2
1