CIS-CAT hardening - ASP.Net configuration recommendations
Set the deployment method to retail:
- Open the machine.config file located at: %windir%\Microsoft.NET\Framework\<framework_version>\CONFIG.
-
Add the line
<deployment retail="true" />
within the<system.web>
section. - Remove all the attribute references to ASP.NET tracing by deleting the trace and trace enable attributes.
- If the system is 64-bit, do the same for the machine.config located at: %windir%\Microsoft.NET\Framework64\<framework_version>\CONFIG.