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.

586 Part IV: Securing Your Network, Host, <strong>and</strong> <strong>Application</strong>Table 19.4 Snapshot of a Secure ASP.NET <strong>Application</strong> Configuration (continued)Component CharacteristicsAuthorization ACLs are configured on ASP.NET resources. elements are configured.Session stateThe ASP.NET state service is disabled if it is not required.The communication channel to the remote state store is encrypted if necessary.Windows authentication is used to connect to ASPState database.The application login has restricted access to ASPState database.The connection parameters (sqlConnectionString <strong>and</strong> stateConnectionString)are encrypted in the registry.The ASP.NET state service is configured for a non-default port.View stateMachine keyThe view-state MAC is enabled on the element in Machine.config.The validation attribute set to SHA1.Keys are unique for each application running on the <strong>Web</strong> server.ViewState <strong>and</strong> Forms Authentication are protected:ForbiddenresourcesDebuggingProtected resources are mapped to System.<strong>Web</strong>.HttpForbiddenH<strong>and</strong>ler.Debug builds are disabled:

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

Saved successfully!

Ooh no, something went wrong!