在IIS中,我可以安全地删除的X技术,通过ASP.NET头? [英] In IIS, can I safely remove the X-Powered-By ASP.NET header?

查看:87
本文介绍了在IIS中,我可以安全地删除的X技术,通过ASP.NET头?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这会不会造成什么危害?它是否满足不是告诉你的浏览器已经安装了.NET?其他任何目的。

Will this cause any harm? Does it serve any purpose other than tell browsers you have .net installed?

我喜欢这篇文章有关更改标题,以纯粹的邪恶。全国联保!

I like this article about changing the header to Pure Evil. Genius!

<一个href=\"http://www.iishacks.com/index.php/2009/11/11/remove-x-powered-by-aspnet-http-response-header/\">http://www.iishacks.com/index.php/2009/11/11/remove-x-powered-by-aspnet-http-response-header/

推荐答案

这个标题(和其他几个标题)并不需要或现代的浏览器使用,可以安全地从IIS中的Web站点配置没有后果删除。其他服务器端语言也往往包括由......头可以被安全地删除。这里是要求同一件事的另一篇文章:

This header (and a few other headers) is not required or used by modern browsers and can safely be removed from the web site configuration in IIS without consequence. Other server-side languages also tend to include a "Powered by..." header that can be safely removed. Here is another article that claims the same thing:

<一个href=\"http://www.4guysfromrolla.com/articles/120209-1.aspx\">http://www.4guysfromrolla.com/articles/120209-1.aspx

[...]

服务器,X供电,靠,
  的X ASPNET的版本,和
  的X AspNetMvc-版本的HTTP头
  没有提供直接的利益,
  不必要地嚼起来有少量
  的带宽。幸运的是,这些
  响应头可以被去除
  一些配置更改。

The Server, X-Powered-By, X-AspNet-Version, and X-AspNetMvc-Version HTTP headers provide no direct benefit and unnecessarily chew up a small amount of bandwidth. Fortunately, these response headers can be removed with some configuration changes.

这篇关于在IIS中,我可以安全地删除的X技术,通过ASP.NET头?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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