Now I have a website, and run it on IIS & ASP.NET 4.0 .
But now the website has some security problems. "Vulnerability: ASP.NET DEBUG Method Enabled"
So I would like to have my website only accept GET & POST requests.
And I have a MVCHandler by myself, so if I change the verb of the MVCHandler, the request end of ".qs" will implement this rule. Below is the control in web.config.
<add name="MvcHttpHandler" verb="GET,POST" path="*.qs" type="Suryani.Web.Mvc.MvcHttpHandler" />
But my website still has a part of WEBFORM, end by ".aspx". I don't know how to set up the IIS or web.config to make ".aspx" only allow GET & POST.
Any insights/advice/references will be appreciated