I have a .Net application which uses spring.net remoting to expose remoting services, over IIS 7.5.for security reasons, I want to remove some information like "Server: IIS/7.5" from HTTP response header. I removed other tags like X-Powered-By easily, but, for the Server tag, I tried all the offered solutions on the internet and none of them worked. I tried setting the DisableServerHeader registry key or installing URLrewrite tools and changing my web.config and adding outboundRule or any other coding solution like adding a custom HTTP module or handling preRequestHandling of http context in my global.asax file. but none of them worked for me. basically ,is it possible to remove this value, Server , from the response header, given that I'm using .net 3.5 and .net remoting over IIS 7.5? I should mention that, this tag's value will become empty if I browse any pages that I've put into the host directory , but for my .Net remoting requests it's not working and the value of the server tag in response http header is still IIS/7.5
In a .Net Remoting service hosted in IIS 7.5, how can remove "Server : IIS/7.5" tag form response header
322 Views Asked by Fahimeh Rahmatipoor At
1
There are 1 best solutions below
Related Questions in IIS
- Create an IIS web request activity light
- Why web API return 404 when deploy to IIS
- Adding site Binding programmatically IIS 7.5
- .net Web Api 2 Owin authentication token expires suddenly and often on IIS 8.5
- Redirecting subdomain to directory on Azure
- Saving Image To a Temp Folder is Loosing Session
- The page cannot be displayed because an internal server error has occurred on server
- Approach for performing long running tasks in .NET
- Why does IIS Anonymous Authentication turn on by itself after I publish my project to server?
- IIS 7 ERR_CONNECTION_TIMED_OUT only with public IP
- Maximum value for IIS .NET Compilation Batch Time-out
- ASP.Net 1.1 app on IIS 7 waiting threads
- File upload web api 2.0 error after deployment on IIS 8.5
- nginx and IIS - dealing with invalid hostname and SSL
- Allow console application to access Windows Authenticated web app
Related Questions in HTTP-HEADERS
- Disable Expect: 100 Continue in Play
- Data in mysql is set to 0 when send a POST using network tab, codeigniter
- Create HTTP GET Header Request
- write a parsed response from a json file in a div
- Adding HTTP Header to AJAX get request
- Play Framework: How to Add a Header to Every Response
- Can servers use http headers order to catch a browser signature?
- how use data like that to send request from windows phone
- CURL to POSTMAN
- How to get content from another website using JQ or JS
- Python, Flask: How to set response header for all responses
- Best practice for indicating a client side refresh/warning from server side
- Gather Client Domain from Rails API GET Request
- How to remove HTTP Server "Apache"?
- AngularJS header authorization format in Interceptor
Related Questions in HTTPRESPONSE
- How to get response from server every second in JSON?
- How to loop and get the specific value of the json object ,how can i use that json object to get the other entity present in that json object?
- How to call HttpResponse from external function?
- HttpResponseMessage.Content as an attachment for an email
- What is the correct way to return a specialized HTTP response?
- Handle http request that has timedout while in reality request was processed by server successefully
- Downloaded octet-stream then encoding as pdf; can't get line endings worked out
- Missing last 8 bytes of file when downloading from HTTPS
- AttributeError: 'HTTPResponse' object has no attribute 'replace'
- Is there any way to know whether the parent window is closed or not in django view?
- Django get a DOM object from an HttpResponse
- How to specify 1 to many and many to 1 relations in json-ld document?
- Unpredictable results when sending HTTP POST using DefaultHttpClient
- passing argument from one function to request.on nodejs
- Spring MV 3.2 Exception Response Mapping
Related Questions in .NET-REMOTING
- C# DCOM event binding Unathorized Execption
- .NET Remoting and WCF
- Unable to find assembly System.Diagnostics.DiagnosticSource when using Remoting
- Type resolution error during ASP.NET precompilation
- How to add extended information to a .Net Remoting call without adding new parameters on the calls?
- Correct way of implementing database access using .net remoting
- How to make a Windows Service listen for additional request while it is already processing the current request?
- How to Proxy, Remoting, HttpTunnel, through IIS
- Windows service using WCF or .Net Remoting service
- what happens when an object derives from MarshalByRefObject and is also marked [Serializable]?
- Open tcp remoting channel on specific port
- Get-Service fails but Invoke-Command {Get-Service} succeeds
- Client-side activation doesn't work over the network while server-side activation works
- How to dispose resources in client-side activated object once it's released?
- How to Run Excute method another current domain?
Related Questions in SERVERTAG
- ASP.NET server tag with colon?
- Can't add button column in asp.net gridview
- Pass a parameter to server method using JavaScript
- The server tag is not well formed for imageButton
- ASP.NET inline server tags
- ASP page not retrieving import files
- server tag not well formed error
- The Server Tag is not well formatted error ASP.NET
- The Server tag is not well formed error in a Wizard
- Parser Error Message: The server tag is not well formed. ImageButton
- Server tag not parsed in asp:Hyperlink
- In a .Net Remoting service hosted in IIS 7.5, how can remove "Server : IIS/7.5" tag form response header
- Set Visible property with server tag <%= %> in Framework 3.5
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Unfortunately, you can not really remove the Server header. But you can rewrite its content and empty it. On IIS 7+ (IIS 7, 8.5, 8.0, 8.5, IIS 10.0), use a rewrite outbound rule to remove the webserver version information from the Server: header response.
You can use the following URL Rewrite Outbound rule: