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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 19: Securing Your ASP.NET <strong>Application</strong> <strong>and</strong> <strong>Web</strong> Services 585Snapshot of a Secure ASP.NET <strong>Application</strong>The following snapshot view shows the attributes of a secure ASP.NET application<strong>and</strong> allows you to quickly <strong>and</strong> easily compare settings with your own configuration.Table 19.4 Snapshot of a Secure ASP.NET <strong>Application</strong> ConfigurationComponentProcess identityCharacteristicsThe ASP.NET worker process runs as ASPNET:The custom account (if used) is least privileged.The custom account credentials are encrypted in the registry:ImpersonationImpersonation identities are encrypted in the registry:AuthenticationThe <strong>Web</strong> site is partitioned for public <strong>and</strong> restricted access.The Forms authentication configuration is secure:The authentication cookie is encrypted <strong>and</strong> integrity checked.SSL is required for authentication cookie.Sliding expiration is set to false, if SSL is it is not used.The session lifetime is restricted.Cookie names <strong>and</strong> paths are unique.The element is not used.(continued)

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

Saved successfully!

Ooh no, something went wrong!