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 <strong>Web</strong> Services 707Exception ManagementCheck DescriptionStructured exception h<strong>and</strong>ling is used when implementing <strong>Web</strong> services.Exception details are logged (except for private data, such as passwords).SoapExceptions are thrown <strong>and</strong> returned to the client using the st<strong>and</strong>ard SOAPelement.If application-level exception h<strong>and</strong>ling is required a custom SOAP extension is used.Auditing <strong>and</strong> LoggingCheck DescriptionThe <strong>Web</strong> service logs transactions <strong>and</strong> key operations.Proxy ConsiderationsCheck DescriptionThe endpoint address in <strong>Web</strong> Services Description Language (WSDL) is checked for validity.The URL Behavior property of the <strong>Web</strong> reference is set to dynamic for added flexibility.Administration ConsiderationsCheck DescriptionUnnecessary <strong>Web</strong> service protocols, including HTTP GET <strong>and</strong> HTTP POST, are disabled.The documentation protocol is disabled if you do not want to support the dynamic generationof WSDL.The <strong>Web</strong> service runs using a least-privileged process account (configured through the element in Machine.config.)Custom accounts are encrypted by using Aspnet_setref.exe.Tracing is disabled with:Debug compilations are disabled with:

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

Saved successfully!

Ooh no, something went wrong!