{"id":4301,"date":"2022-08-16T07:37:08","date_gmt":"2022-08-16T14:37:08","guid":{"rendered":"https:\/\/SUMMALAI.COM\/?p=4301"},"modified":"2022-08-16T07:37:32","modified_gmt":"2022-08-16T14:37:32","slug":"remove-unwanted-http-response-headers","status":"publish","type":"post","link":"https:\/\/SUMMALAI.COM\/?p=4301","title":{"rendered":"Remove Unwanted HTTP Response Headers on IIS Server"},"content":{"rendered":"\n<p>The purpose of this blog post is to discuss how to remove unwanted HTTP response headers from the response. Typically we have 3 response headers which many people want to remove for security reasons.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Server<\/strong>&nbsp;&#8211; Specifies web server version.<\/li><li><strong>X-Powered-By<\/strong>&nbsp;&#8211; Indicates that the website is &#8220;powered by ASP.NET.&#8221;<\/li><li><strong>X-AspNet-Version<\/strong>&nbsp;&#8211; Specifies the version of ASP.NET used.<\/li><\/ul>\n\n\n\n<p>Before you go any further,&nbsp;<strong>you should evaluate whether or not you need to remove these headers<\/strong>.&nbsp;If you would like to go ahead and remove the headers then follow the following options.<\/p>\n\n\n\n<p><strong><u>Server<\/u><\/strong>&nbsp;<strong>Header<\/strong><\/p>\n\n\n\n<p>There are three ways to remove the Server header from the response. The best one is to use the third option.<\/p>\n\n\n\n<p>1.&nbsp;<strong>Using the Registry key<\/strong>.<\/p>\n\n\n\n<p>Create a DWORD entry called&nbsp;<strong>DisableServerHeader<\/strong>&nbsp;in the following Registry key and set the value to&nbsp;<strong>1<\/strong>.<\/p>\n\n\n\n<p>HKLM\\SYSTEM\\CurrentControlSet\\Services\\HTTP\\Parameters<img decoding=\"async\" src=\"https:\/\/techcommunity.microsoft.com\/t5\/image\/serverpage\/image-id\/89198iB3051D82B1C35D3D\/image-size\/large?v=v2&amp;px=999\" alt=\"thumbnail image 1 of blog post titled \n\t\n\t\n\t \n\t\n\t\n\t\n\t\t\t\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tRemove Unwanted HTTP Response Headers\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\n\t\t\n\t\n\t\t\t\n\t\n\t\n\t\n\t\n\t\n\"><\/p>\n\n\n\n<p>After adding the Registry key, restart the HTTP service using the&nbsp;<em>net stop http<\/em>&nbsp;command and the&nbsp;<em>net start http<\/em>&nbsp;command. If the HTTP service doesn\u2019t start up then use the&nbsp;<em>iisreset<\/em>&nbsp;command. If that also doesn\u2019t work then you can restart the server.<\/p>\n\n\n\n<p>Please note that this method is used only when the Server header comes as \u201c<strong>Microsoft-HTTPAPI\/2.0<\/strong>\u201d.<\/p>\n\n\n\n<p>When the request comes to IIS, it is first goes to http.sys driver. HTTP.SYS driver either handle the request on its own or send it to User mode for further processing. When the request goes to User mode that\u2019s the time it returns the server header as \u201c<strong>Microsoft-IIS\/7.5.\u201d.<\/strong><\/p>\n\n\n\n<p>However when the request returns from the HTTP.SYS driver then the server header comes as \u201c<strong>Microsoft-HTTPAPI\/2.0<\/strong>\u201d. By placing the above registry key it will remove this specific header<\/p>\n\n\n\n<p>If you would like to remove the Server header as \u201c<strong>Microsoft-IIS\/7.5.\u201d,&nbsp;<\/strong>then follow the following methods.<\/p>\n\n\n\n<p><strong>2.&nbsp;<\/strong><strong>Using the URLScan tool.<\/strong><\/p>\n\n\n\n<p>Install the URLScan in your machine. Please follow the following link for that<\/p>\n\n\n\n<p><a href=\"http:\/\/www.iis.net\/downloads\/microsoft\/urlscan\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/www.iis.net\/downloads\/microsoft\/urlscan<\/a><\/p>\n\n\n\n<p>After installing URLScan, open the URLScan.ini file typically located in the %WINDIR%\\System32\\Inetsrv\\URLscan folder. After opening it, search for the key&nbsp;<strong>RemoveServerHeader .&nbsp;<\/strong>By default it is set to 0, but to remove the Server header, change the value to&nbsp;<strong>1<\/strong>.Doing so will remove the Server header&nbsp;<strong>Server: Microsoft-IIS\/7.5&nbsp;<\/strong>from the User mode response.<img decoding=\"async\" src=\"https:\/\/techcommunity.microsoft.com\/t5\/image\/serverpage\/image-id\/89200i75FDADD085971D81\/image-size\/large?v=v2&amp;px=999\" alt=\"thumbnail image 2 of blog post titled \n\t\n\t\n\t \n\t\n\t\n\t\n\t\t\t\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tRemove Unwanted HTTP Response Headers\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\n\t\t\n\t\n\t\t\t\n\t\n\t\n\t\n\t\n\t\n\"><\/p>\n\n\n\n<p>Please note that changes made by URLScan at global level apply to all of your sites. If you would like to setup this for particular site then look at the following article (site filter section)<\/p>\n\n\n\n<p><a href=\"http:\/\/www.iis.net\/learn\/extensions\/working-with-urlscan\/urlscan-setup\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/www.iis.net\/learn\/extensions\/working-with-urlscan\/urlscan-setup<\/a><\/p>\n\n\n\n<p><strong>3.&nbsp;<\/strong><strong>Using URLRewrite<\/strong><\/p>\n\n\n\n<p>If you don\u2019t want to go with URLScan, you can use the URLRewrite module to remove the value of the Server header. Please note that it will not remove the header all together but it will remove the value of it.<\/p>\n\n\n\n<p>Step 1. Install URLRewrite. To install the URLRewrite please go to the following link<\/p>\n\n\n\n<p><a href=\"http:\/\/www.iis.net\/downloads\/microsoft\/url-rewrite\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/www.iis.net\/downloads\/microsoft\/url-rewrite<\/a><\/p>\n\n\n\n<p>Step 2. Open the site on which you would like to remove the Server header and click on the URLRewrite section<strong>.<\/strong><\/p>\n\n\n\n<p>Step 3. Click on the \u201c<strong>View Server Variables\u201d&nbsp;<\/strong>in the Actions pane in the right hand side.<img decoding=\"async\" src=\"https:\/\/techcommunity.microsoft.com\/t5\/image\/serverpage\/image-id\/89202i024E4A92446B584E\/image-size\/large?v=v2&amp;px=999\" alt=\"thumbnail image 4 of blog post titled \n\t\n\t\n\t \n\t\n\t\n\t\n\t\t\t\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tRemove Unwanted HTTP Response Headers\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\n\t\t\n\t\n\t\t\t\n\t\n\t\n\t\n\t\n\t\n\"><\/p>\n\n\n\n<p>Step 4. Click on the Add button and then enter \u201c<strong>RESPONSE_SERVER\u201d&nbsp;<\/strong>in the textbox provided.<img decoding=\"async\" src=\"https:\/\/techcommunity.microsoft.com\/t5\/image\/serverpage\/image-id\/89203i6F8CD61321627283\/image-size\/large?v=v2&amp;px=999\" alt=\"thumbnail image 5 of blog post titled \n\t\n\t\n\t \n\t\n\t\n\t\n\t\t\t\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tRemove Unwanted HTTP Response Headers\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\n\t\t\n\t\n\t\t\t\n\t\n\t\n\t\n\t\n\t\n\"><\/p>\n\n\n\n<p>Step 5. Now we need to create an outbound rule. To know how to create an outbound rule, look at the following link<\/p>\n\n\n\n<p><a href=\"http:\/\/www.iis.net\/learn\/extensions\/url-rewrite-module\/creating-outbound-rules-for-url-rewrite-module\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/www.iis.net\/learn\/extensions\/url-rewrite-module\/creating-outbound-rules-for-url-rewrite-modul&#8230;<\/a><\/p>\n\n\n\n<p>Step 6. Create an Outbound rule as the following.<img decoding=\"async\" src=\"https:\/\/techcommunity.microsoft.com\/t5\/image\/serverpage\/image-id\/89205i4019DD3203FB3742\/image-size\/large?v=v2&amp;px=999\" alt=\"thumbnail image 6 of blog post titled \n\t\n\t\n\t \n\t\n\t\n\t\n\t\t\t\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tRemove Unwanted HTTP Response Headers\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\n\t\t\n\t\n\t\t\t\n\t\n\t\n\t\n\t\n\t\n\"><\/p>\n\n\n\n<p>Please note that this is a website-specific rule. If you want to create the rule for all of your applications, create the rule at the server level. Also, some applications, especially third party applications, may require the Server header, so you may need to remove this rule for those applications.<\/p>\n\n\n\n<p><strong><u>X-Powered-By<\/u><\/strong><\/p>\n\n\n\n<p>There are two ways to do remove this header as well. Second method would be the preferred one.<\/p>\n\n\n\n<p>1.&nbsp;<strong>Using IIS HTTP Response headers.<\/strong><\/p>\n\n\n\n<p>Open the site which you would like to open and then click on the HTTP Response Headers option.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/techcommunity.microsoft.com\/t5\/image\/serverpage\/image-id\/89207i696CAA087CE607DA\/image-size\/large?v=v2&amp;px=999\" alt=\"thumbnail image 7 of blog post titled \n\t\n\t\n\t \n\t\n\t\n\t\n\t\t\t\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tRemove Unwanted HTTP Response Headers\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\n\t\t\n\t\n\t\t\t\n\t\n\t\n\t\n\t\n\t\n\"\/><\/figure>\n\n\n\n<p>Click on the&nbsp;<strong>X-Powered-By<\/strong>&nbsp;header and then click Remove on the Actions Pane to remove it from the response.<img decoding=\"async\" src=\"https:\/\/techcommunity.microsoft.com\/t5\/image\/serverpage\/image-id\/89209iA374AD7A9AFAA0AB\/image-size\/large?v=v2&amp;px=999\" alt=\"thumbnail image 8 of blog post titled \n\t\n\t\n\t \n\t\n\t\n\t\n\t\t\t\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tRemove Unwanted HTTP Response Headers\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\n\t\t\n\t\n\t\t\t\n\t\n\t\n\t\n\t\n\t\n\"><\/p>\n\n\n\n<p>2.&nbsp;<strong>Using URLRewite Rule.<\/strong><\/p>\n\n\n\n<p>Please note that it will not remove the header all together but it will remove the value of it.<\/p>\n\n\n\n<p>Step 1. Install URLRewrite. To install the URLRewrite please go to the following link<\/p>\n\n\n\n<p><a href=\"http:\/\/www.iis.net\/downloads\/microsoft\/url-rewrite\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/www.iis.net\/downloads\/microsoft\/url-rewrite<\/a><\/p>\n\n\n\n<p>Step 2. Open the site on which you would like to remove the X-Powered-By header and Click on the URLRewrite section<strong>.<\/strong><\/p>\n\n\n\n<p>Step 3. Click on the \u201c<strong>View Server Variables\u201d&nbsp;<\/strong>in the Actions pane in the right hand side.<img decoding=\"async\" src=\"https:\/\/techcommunity.microsoft.com\/t5\/image\/serverpage\/image-id\/89213i6C9F3396CB9E58AD\/image-size\/large?v=v2&amp;px=999\" alt=\"thumbnail image 10 of blog post titled \n\t\n\t\n\t \n\t\n\t\n\t\n\t\t\t\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tRemove Unwanted HTTP Response Headers\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\n\t\t\n\t\n\t\t\t\n\t\n\t\n\t\n\t\n\t\n\"><\/p>\n\n\n\n<p>Step 4. Click on the Add button and then enter&nbsp;<strong>\u201cRESPONSE_X-POWERED-BY\u201d&nbsp;<\/strong>in the textbox provided.<img decoding=\"async\" src=\"https:\/\/techcommunity.microsoft.com\/t5\/image\/serverpage\/image-id\/89214i0751F9D1A67D71F9\/image-size\/large?v=v2&amp;px=999\" alt=\"thumbnail image 11 of blog post titled \n\t\n\t\n\t \n\t\n\t\n\t\n\t\t\t\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tRemove Unwanted HTTP Response Headers\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\n\t\t\n\t\n\t\t\t\n\t\n\t\n\t\n\t\n\t\n\"><\/p>\n\n\n\n<p>Step 5. Now we need to create an outbound rule. To know how to create an outbound rule, look at the following link<\/p>\n\n\n\n<p><a href=\"http:\/\/www.iis.net\/learn\/extensions\/url-rewrite-module\/creating-outbound-rules-for-url-rewrite-module\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/www.iis.net\/learn\/extensions\/url-rewrite-module\/creating-outbound-rules-for-url-rewrite-modul&#8230;<\/a><\/p>\n\n\n\n<p>Step 6. Create an Outbound rule as the following<img decoding=\"async\" src=\"https:\/\/techcommunity.microsoft.com\/t5\/image\/serverpage\/image-id\/89215iC93087DADBAEB3C0\/image-size\/large?v=v2&amp;px=999\" alt=\"thumbnail image 12 of blog post titled \n\t\n\t\n\t \n\t\n\t\n\t\n\t\t\t\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tRemove Unwanted HTTP Response Headers\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\n\t\t\n\t\n\t\t\t\n\t\n\t\n\t\n\t\n\t\n\"><\/p>\n\n\n\n<p>Please note that this is a website-specific rule. If you want to create the rule for all of your applications, create the rule at the server level. Also, some applications, especially third party applications, may require the x-powered-by header, so you may need to remove this rule for those applications.<\/p>\n\n\n\n<p><strong><u>X-AspNet-Version<\/u><\/strong><\/p>\n\n\n\n<p>There are two ways to do remove this header as well. Preferred one is the first one.<\/p>\n\n\n\n<p><strong>1.&nbsp;<\/strong><strong>Using the httpRuntime element.<\/strong><\/p>\n\n\n\n<p>Add the following line in your web.config in the &lt;system. Web&gt; section<\/p>\n\n\n\n<p><strong>&lt;httpRuntime enableVersionHeader=&#8221;false&#8221; \/&gt;<\/strong><\/p>\n\n\n\n<p>2.&nbsp;<strong>Using an URLRewite rule<\/strong>.<\/p>\n\n\n\n<p>Please note that it will not remove the header all together but it will remove the value of it.<\/p>\n\n\n\n<p>Step 1. Install URLRewrite. To install the URLRewrite please go to the following link<\/p>\n\n\n\n<p><a href=\"http:\/\/www.iis.net\/downloads\/microsoft\/url-rewrite\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/www.iis.net\/downloads\/microsoft\/url-rewrite<\/a><\/p>\n\n\n\n<p>Step 2. Open the site on which you would like to remove the Server header and go to the URLRewrite section<strong>.<\/strong><\/p>\n\n\n\n<p>Step 3. Click on the \u201c<strong>View Server Variables\u201d&nbsp;<\/strong>in the Actions pane in the right hand side.<img decoding=\"async\" src=\"https:\/\/techcommunity.microsoft.com\/t5\/image\/serverpage\/image-id\/89217i18E0AC7A536D25CB\/image-size\/large?v=v2&amp;px=999\" alt=\"thumbnail image 14 of blog post titled \n\t\n\t\n\t \n\t\n\t\n\t\n\t\t\t\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tRemove Unwanted HTTP Response Headers\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\n\t\t\n\t\n\t\t\t\n\t\n\t\n\t\n\t\n\t\n\">Step 4. Click on the Add button and then enter&nbsp;<strong>\u201cRESPONSE_X-ASPNET-VERSION\u201d&nbsp;<\/strong>in the textbox provided.<img decoding=\"async\" src=\"https:\/\/techcommunity.microsoft.com\/t5\/image\/serverpage\/image-id\/89218i1694931A762F491D\/image-size\/large?v=v2&amp;px=999\" alt=\"thumbnail image 15 of blog post titled \n\t\n\t\n\t \n\t\n\t\n\t\n\t\t\t\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tRemove Unwanted HTTP Response Headers\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\n\t\t\n\t\n\t\t\t\n\t\n\t\n\t\n\t\n\t\n\"><\/p>\n\n\n\n<p>Step 5. Now we need to create an outbound rule. To know how to create an outbound rule, look at the following link<\/p>\n\n\n\n<p><a href=\"http:\/\/www.iis.net\/learn\/extensions\/url-rewrite-module\/creating-outbound-rules-for-url-rewrite-module\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/www.iis.net\/learn\/extensions\/url-rewrite-module\/creating-outbound-rules-for-url-rewrite-modul&#8230;<\/a><\/p>\n\n\n\n<p>Step 6. Create an Outbound rule as the following.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/techcommunity.microsoft.com\/t5\/image\/serverpage\/image-id\/89219i1377629D61E60E72\/image-size\/large?v=v2&amp;px=999\" alt=\"thumbnail image 16 of blog post titled \n\t\n\t\n\t \n\t\n\t\n\t\n\t\t\t\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tRemove Unwanted HTTP Response Headers\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\n\t\t\n\t\n\t\t\t\n\t\n\t\n\t\n\t\n\t\n\"\/><\/figure>\n\n\n\n<p>Please note that this is a website-specific rule. If you want to create the rule for all of your applications, create the rule at the server level. Also, some applications, especially third party applications, may require the x-aspnet-version header, so you may need to remove this rule for those applications.<\/p>\n\n\n\n<p>Author: Mathur Varun (MSFT)<\/p>\n\n\n\n<p>Tech Reviewed by: Enamul Khaleque (MSFT)<\/p>\n\n\n\n<p>Ref: https:\/\/techcommunity.microsoft.com\/t5\/iis-support-blog\/remove-unwanted-http-response-headers\/ba-p\/369710<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The purpose of this blog post is to discuss how to remove unwanted HTTP response headers from the response. Typically we have 3 response headers which many people want to remove for security reasons. Server&nbsp;&#8211; Specifies web server version. X-Powered-By&nbsp;&#8211; Indicates that the website is &#8220;powered by ASP.NET.&#8221; X-AspNet-Version&nbsp;&#8211; Specifies the version of ASP.NET used. <a class=\"read-more\" href=\"https:\/\/SUMMALAI.COM\/?p=4301\">Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[10,14],"tags":[1280,1281],"class_list":["post-4301","post","type-post","status-publish","format-standard","hentry","category-microsoft","category-windows-7-8-10","tag-remove-unwanted-http-response-headers","tag-remove-unwanted-http-response-headers-iis"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.9 - aioseo.com -->\n\t<meta name=\"description\" content=\"The purpose of this blog post is to discuss how to remove unwanted HTTP response headers from the response. Typically we have 3 response headers which many people want to remove for security reasons. Server - Specifies web server version.X-Powered-By - Indicates that the website is &quot;powered by ASP.NET.&quot;X-AspNet-Version - Specifies the version of ASP.NET used. Before you\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Summa Lai\"\/>\n\t<meta name=\"keywords\" content=\"remove unwanted http response headers,remove unwanted http response headers iis,microsoft family,windows 7\/8\/10\/11\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/SUMMALAI.COM\/?p=4301\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.9\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=4301#article\",\"name\":\"Remove Unwanted HTTP Response Headers on IIS Server | Summa Lai\",\"headline\":\"Remove Unwanted HTTP Response Headers on IIS Server\",\"author\":{\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?author=2#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/techcommunity.microsoft.com\\\/t5\\\/image\\\/serverpage\\\/image-id\\\/89198iB3051D82B1C35D3D\\\/image-size\\\/large?v=v2&amp;px=999\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=4301\\\/#articleImage\"},\"datePublished\":\"2022-08-16T07:37:08-07:00\",\"dateModified\":\"2022-08-16T07:37:32-07:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=4301#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=4301#webpage\"},\"articleSection\":\"Microsoft Family, Windows 7\\\/8\\\/10\\\/11, Remove Unwanted HTTP Response Headers, Remove Unwanted HTTP Response Headers IIS\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=4301#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/SUMMALAI.COM\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?cat=10#listItem\",\"name\":\"Microsoft Family\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?cat=10#listItem\",\"position\":2,\"name\":\"Microsoft Family\",\"item\":\"https:\\\/\\\/SUMMALAI.COM\\\/?cat=10\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?cat=14#listItem\",\"name\":\"Windows 7\\\/8\\\/10\\\/11\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?cat=14#listItem\",\"position\":3,\"name\":\"Windows 7\\\/8\\\/10\\\/11\",\"item\":\"https:\\\/\\\/SUMMALAI.COM\\\/?cat=14\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=4301#listItem\",\"name\":\"Remove Unwanted HTTP Response Headers on IIS Server\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?cat=10#listItem\",\"name\":\"Microsoft Family\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=4301#listItem\",\"position\":4,\"name\":\"Remove Unwanted HTTP Response Headers on IIS Server\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?cat=14#listItem\",\"name\":\"Windows 7\\\/8\\\/10\\\/11\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/#person\",\"name\":\"sladmin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=4301#personImage\",\"url\":\"https:\\\/\\\/SUMMALAI.COM\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/Summa_Logo-150x150.png\",\"width\":96,\"height\":96,\"caption\":\"sladmin\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?author=2#author\",\"url\":\"https:\\\/\\\/SUMMALAI.COM\\\/?author=2\",\"name\":\"Summa Lai\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=4301#authorImage\",\"url\":\"https:\\\/\\\/SUMMALAI.COM\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/Summa_Logo-150x150.png\",\"width\":96,\"height\":96,\"caption\":\"Summa Lai\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=4301#webpage\",\"url\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=4301\",\"name\":\"Remove Unwanted HTTP Response Headers on IIS Server | Summa Lai\",\"description\":\"The purpose of this blog post is to discuss how to remove unwanted HTTP response headers from the response. Typically we have 3 response headers which many people want to remove for security reasons. Server - Specifies web server version.X-Powered-By - Indicates that the website is \\\"powered by ASP.NET.\\\"X-AspNet-Version - Specifies the version of ASP.NET used. Before you\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=4301#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?author=2#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?author=2#author\"},\"datePublished\":\"2022-08-16T07:37:08-07:00\",\"dateModified\":\"2022-08-16T07:37:32-07:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/#website\",\"url\":\"https:\\\/\\\/SUMMALAI.COM\\\/\",\"name\":\"Summa Lai\",\"description\":\"Never Stop Learning, Building a Little Wiki...\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Remove Unwanted HTTP Response Headers on IIS Server | Summa Lai","description":"The purpose of this blog post is to discuss how to remove unwanted HTTP response headers from the response. Typically we have 3 response headers which many people want to remove for security reasons. Server - Specifies web server version.X-Powered-By - Indicates that the website is \"powered by ASP.NET.\"X-AspNet-Version - Specifies the version of ASP.NET used. Before you","canonical_url":"https:\/\/SUMMALAI.COM\/?p=4301","robots":"max-image-preview:large","keywords":"remove unwanted http response headers,remove unwanted http response headers iis,microsoft family,windows 7\/8\/10\/11","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/SUMMALAI.COM\/?p=4301#article","name":"Remove Unwanted HTTP Response Headers on IIS Server | Summa Lai","headline":"Remove Unwanted HTTP Response Headers on IIS Server","author":{"@id":"https:\/\/SUMMALAI.COM\/?author=2#author"},"publisher":{"@id":"https:\/\/SUMMALAI.COM\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/techcommunity.microsoft.com\/t5\/image\/serverpage\/image-id\/89198iB3051D82B1C35D3D\/image-size\/large?v=v2&amp;px=999","@id":"https:\/\/SUMMALAI.COM\/?p=4301\/#articleImage"},"datePublished":"2022-08-16T07:37:08-07:00","dateModified":"2022-08-16T07:37:32-07:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/SUMMALAI.COM\/?p=4301#webpage"},"isPartOf":{"@id":"https:\/\/SUMMALAI.COM\/?p=4301#webpage"},"articleSection":"Microsoft Family, Windows 7\/8\/10\/11, Remove Unwanted HTTP Response Headers, Remove Unwanted HTTP Response Headers IIS"},{"@type":"BreadcrumbList","@id":"https:\/\/SUMMALAI.COM\/?p=4301#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM#listItem","position":1,"name":"Home","item":"https:\/\/SUMMALAI.COM","nextItem":{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM\/?cat=10#listItem","name":"Microsoft Family"}},{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM\/?cat=10#listItem","position":2,"name":"Microsoft Family","item":"https:\/\/SUMMALAI.COM\/?cat=10","nextItem":{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM\/?cat=14#listItem","name":"Windows 7\/8\/10\/11"},"previousItem":{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM\/?cat=14#listItem","position":3,"name":"Windows 7\/8\/10\/11","item":"https:\/\/SUMMALAI.COM\/?cat=14","nextItem":{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM\/?p=4301#listItem","name":"Remove Unwanted HTTP Response Headers on IIS Server"},"previousItem":{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM\/?cat=10#listItem","name":"Microsoft Family"}},{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM\/?p=4301#listItem","position":4,"name":"Remove Unwanted HTTP Response Headers on IIS Server","previousItem":{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM\/?cat=14#listItem","name":"Windows 7\/8\/10\/11"}}]},{"@type":"Person","@id":"https:\/\/SUMMALAI.COM\/#person","name":"sladmin","image":{"@type":"ImageObject","@id":"https:\/\/SUMMALAI.COM\/?p=4301#personImage","url":"https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2020\/05\/Summa_Logo-150x150.png","width":96,"height":96,"caption":"sladmin"}},{"@type":"Person","@id":"https:\/\/SUMMALAI.COM\/?author=2#author","url":"https:\/\/SUMMALAI.COM\/?author=2","name":"Summa Lai","image":{"@type":"ImageObject","@id":"https:\/\/SUMMALAI.COM\/?p=4301#authorImage","url":"https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2020\/05\/Summa_Logo-150x150.png","width":96,"height":96,"caption":"Summa Lai"}},{"@type":"WebPage","@id":"https:\/\/SUMMALAI.COM\/?p=4301#webpage","url":"https:\/\/SUMMALAI.COM\/?p=4301","name":"Remove Unwanted HTTP Response Headers on IIS Server | Summa Lai","description":"The purpose of this blog post is to discuss how to remove unwanted HTTP response headers from the response. Typically we have 3 response headers which many people want to remove for security reasons. Server - Specifies web server version.X-Powered-By - Indicates that the website is \"powered by ASP.NET.\"X-AspNet-Version - Specifies the version of ASP.NET used. Before you","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/SUMMALAI.COM\/#website"},"breadcrumb":{"@id":"https:\/\/SUMMALAI.COM\/?p=4301#breadcrumblist"},"author":{"@id":"https:\/\/SUMMALAI.COM\/?author=2#author"},"creator":{"@id":"https:\/\/SUMMALAI.COM\/?author=2#author"},"datePublished":"2022-08-16T07:37:08-07:00","dateModified":"2022-08-16T07:37:32-07:00"},{"@type":"WebSite","@id":"https:\/\/SUMMALAI.COM\/#website","url":"https:\/\/SUMMALAI.COM\/","name":"Summa Lai","description":"Never Stop Learning, Building a Little Wiki...","inLanguage":"en-US","publisher":{"@id":"https:\/\/SUMMALAI.COM\/#person"}}]}},"aioseo_meta_data":{"post_id":"4301","title":null,"description":null,"keywords":[],"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":{"id":"#aioseo-article-65a0cefbc7311","slug":"article","graphName":"Article","label":"Article","properties":{"type":"BlogPosting","name":"#post_title","headline":"#post_title","description":"#post_excerpt","image":"","keywords":"","author":{"name":"#author_name","url":"#author_url"},"dates":{"include":true,"datePublished":"","dateModified":""}}},"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":"{\"article\":{\"articleType\":\"BlogPosting\"},\"course\":{\"name\":\"\",\"description\":\"\",\"provider\":\"\"},\"faq\":{\"pages\":[]},\"product\":{\"reviews\":[]},\"recipe\":{\"ingredients\":[],\"instructions\":[],\"keywords\":[]},\"software\":{\"reviews\":[],\"operatingSystems\":[]},\"webPage\":{\"webPageType\":\"WebPage\"}}","pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2022-08-16 14:35:16","updated":"2024-01-12 05:32:43","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/SUMMALAI.COM\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/SUMMALAI.COM\/?cat=10\" title=\"Microsoft Family\">Microsoft Family<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/SUMMALAI.COM\/?cat=14\" title=\"Windows 7\/8\/10\/11\">Windows 7\/8\/10\/11<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tRemove Unwanted HTTP Response Headers on IIS Server\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/SUMMALAI.COM"},{"label":"Microsoft Family","link":"https:\/\/SUMMALAI.COM\/?cat=10"},{"label":"Windows 7\/8\/10\/11","link":"https:\/\/SUMMALAI.COM\/?cat=14"},{"label":"Remove Unwanted HTTP Response Headers on IIS Server","link":"https:\/\/SUMMALAI.COM\/?p=4301"}],"_links":{"self":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/4301","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4301"}],"version-history":[{"count":2,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/4301\/revisions"}],"predecessor-version":[{"id":4304,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/4301\/revisions\/4304"}],"wp:attachment":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4301"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4301"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4301"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}