11.07.2015 Views

Improving Web Application Security: Threats and - CGISecurity

Improving Web Application Security: Threats and - CGISecurity

Improving Web Application Security: Threats and - CGISecurity

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Checklist: Securing ASP.NET 699Exception ManagementCheck DescriptionStructured exception h<strong>and</strong>ling is used.Exception details are logged on the server.Generic error pages with harmless messages are returned to the client.Page-level or application-level error h<strong>and</strong>lers are implemented.The application distinguishes between errors <strong>and</strong> exception conditions.Auditing <strong>and</strong> LoggingCheck DescriptionThe ASP.NET process is configured to allow new event sources to be created at runtime, orapplication event sources to be created at installation time.Configuration File SettingsCheck DescriptionTracing is not enabled on the production servers.Request <strong>and</strong> response encoding is appropriately configured.maxRequestLength is configured to prevent users from uploading very large files (optional).Debug compiles are not enabled on the production servers by setting debug=“false”If the application does not use view state, enableViewState is set to “false”.If the application uses view state, enableViewState is set to “true” <strong>and</strong>enableViewStateMac is set to “true” to detect view state tampering.(continued)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!