How to disable HTTP response Header banner?
Disable HTTP headers due to security audit.
For the above to be disable, three rules needs to be created:
- Open IIS, go to the site for which you want the Http headers disabled.
- Second step, is to open URLrewrite , the go to add variables and start creating rules for the below headers.
- Third step, after all the rules are created open cmd or poweshell and run iireset.
- Server
- X-Powered-By
- X-AspNet