How to delete IIS custom headers like X-Powered-By: ASP.NET from response?

后端 未结 7 1662
小鲜肉
小鲜肉 2021-02-01 13:19

In IIS 7.0 integrated mode after deleting all headers with Response.ClearHeaders() IIS would add some other headers like Server

7条回答
  •  悲哀的现实
    2021-02-01 13:49

    URLScan can be used to remove server header, or configure another server header, http://learn.iis.net/page.aspx/938/urlscan-3-reference/

    But it never really prevents a hacker to know what you use in fact. There are obviously other ways to detect your server information.

提交回复
热议问题