TIL: How to remove IIS server response header

ยท

1 min read

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.

ย