从asp.net的Response头中删除一些头信息 [英] Removing some header information from Response header in asp.net

查看:130
本文介绍了从asp.net的Response头中删除一些头信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要从Response标题中删除服务器信息



我的IIS版本是IIS 5.1

请让我知道,我怎么能在Global.asax文件中执行此操作



我想从Response标题中删除Server,X-AspNet-Version和X-Powered-By信息



我得到了一些解决方案,它需要IIS 7或更高版本。

请快速回复。

迫切需要解决方案。

解决方案





试试这个: http://www.4guysfromrolla.com/articles/120209-1.aspx [ ^ ]



http://forums.asp.net/p/1601000/4073570.aspx [ ^ ]

UrlScan安全工具

http://www.microsoft.com/en-us/download/details.aspx?id=12719 [ ^ ]







可能会使用这个实用程序来解决我的问题。



感谢所有人。


I need to remove Server Information from Response header

My IIS version is IIS 5.1
Please let me know, how can i do this in Global.asax file

I want to remove Server,X-AspNet-Version, and X-Powered-By information from the Response header

I got some solution, bt it requires IIS 7 or higher version.
Please respond quickly.
Needs solution urgently.

解决方案

Hi,

Try this : http://www.4guysfromrolla.com/articles/120209-1.aspx[^]

http://forums.asp.net/p/1601000/4073570.aspx[^]


UrlScan Security Tool
http://www.microsoft.com/en-us/download/details.aspx?id=12719[^]



will probably use this utility to solve my Issue.

Thanks to all.


这篇关于从asp.net的Response头中删除一些头信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆