Remove Server from HTTP Response in WCF

前端 未结 6 1117
北海茫月
北海茫月 2021-01-13 18:15

I have an internet exposed WCF service running on IIS 7.5 that I need to secure. I would like to remove the \"Server\" header in the HTTP response.

I\'ve implemented

6条回答
  •  半阙折子戏
    2021-01-13 19:16

    Do you have access to the registry? If so you could try

    HKLM\SYSTEM\CurrentControlSet\Services\HTTP\Parameters\DisableServerHeader
    

提交回复
热议问题