Some notes on software development... RSS 2.0
# Wednesday, 21 January 2009

The default HTTP header created by ASP.NET includes a string called X-AspNet-Version. An example....


Ideally you want to give away as little information as possible about your web server to potential hackers. You can easily remove this string by making a change to the web.config file.
Setting the enableVersionHeader attribute to true in the httpRuntime element will remove the string from all the http headers.

<httpRuntime enableVersionHeader="false" />

.NET Slave blog post.

Wednesday, 21 January 2009 09:45:46 (GMT Standard Time, UTC+00:00)  #    -

Sign In
Total Posts: 116
This Year: 0
This Month: 0
This Week: 0
Comments: 36
About the author/Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2019
Hadrian Phillips

All Content © 2019, Hadrian Phillips
DasBlog theme 'Business' created by Christoph De Baene (delarou)