You must Sign In to post a response.
  • Category: ASP.NET

    How to disable the website information in asp.net

    How to hide or disable the asp.net website informations like the website is created by
    1) which technology
    2) which version of the technology
    3) web server details

    i wanna hide all the above things kindly help to achieve this task
  • #767756
    Hi
    You need Contact Site administration because they have only admin for your website.

    suppose this is dedicated server or are you server admin menans some setting to need change Cpanel in your server.

    Name : Dotnet Developer-2015
    Email Id : kumaraspcode2009@gmail.com

    'Not by might nor by power, but by my Spirit,' says the LORD Almighty.

  • #767759
    Hi kumar, we are using dedicated server only what type of setting have to change and where i have to change

  • #767761
    when you deploy any website on IIS basically each page has HTTP response headers and that shows your web site information like
    1. Server – Specifies web server version.
    2. X-Powered-By – Indicates that the website is "powered by ASP.NET."
    3. X-AspNet-Version – Specifies the version of ASP.NET used.
    Now, you can hide them using following ways
    1. The Registry key,
    2. URLScan tool
    3. URLRewrite
    4. Using the httpRuntime element
    see below link for details
    https://blogs.msdn.microsoft.com/varunm/2013/04/23/remove-unwanted-http-response-headers/
    https://www.dionach.com/blog/easily-remove-unwanted-http-headers-in-iis-70-to-85

    Thanks
    Koolprasd2003
    Editor, DotNetSpider MVM
    Microsoft MVP 2014 [ASP.NET/IIS]

  • #767789
    Just extending prasad's answer. In IIS there is URLRewrite utility which allows you to change the response header attribute. If it is not available you need to install it using Microsoft Web Platform Installer.

    Reference http://www.iis.net/downloads/microsoft/url-rewrite


  • Sign In to post your comments