TIL: How to remove IIS server response header

  1. Go to Server Manager -> IIS

    • Right click on the Server

    • Select Internet Information Services (IIS) Manager

  2. On Features View tab, go to Management -> Configuration Editor

  3. On the drop down menu, select the section: system.webServer -> security -> authentication -> requestFiltering

  4. Set the value for removeServerHeader to True

  5. Reload the page and inspect the response. The IIS header should be removed.

0
Subscribe to my newsletter

Read articles from Christine Balanaa directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Christine Balanaa
Christine Balanaa