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.

646 Part V: Assessing Your <strong>Security</strong>●Have you disabled FTP, SMTP, <strong>and</strong> NNTP services?These services are not secure protocols <strong>and</strong> have known vulnerabilities. If you donot need them, disable them. If you use them, find secure alternatives. Theseservices are listed in the Services MMC snap-in as FTP Publishing Service, SimpleMail Transport Protocol (SMTP) <strong>and</strong> Network News Transport Protocol (NNTP).Note IISLockdown disables these services.●Do you use the ASP.NET session state service?To see whether your applications use this service, review the element in your application’s <strong>Web</strong>.config file. If <strong>Web</strong>.config does not containthis element, check its setting in Machine.config. You use the session stateservice on your <strong>Web</strong> server if the mode attribute is set to “StateServer” <strong>and</strong> thestateConnectionString points to the local machine, for example with a localhostaddress as shown below:If you do not use the service on the <strong>Web</strong> server, disable it. It is listed as “ASP.NETState Service” in the Services MMC snap-in.For more information on how to secure ASP.NET session state, refer to “SessionState” in Chapter 19, “Securing Your ASP.NET <strong>Application</strong> <strong>and</strong> <strong>Web</strong> Services.”ProtocolsReview which protocols are enabled on your server <strong>and</strong> make sure that nounnecessary protocol is enabled. Use the following questions to help review protocolson your server:● Do you use <strong>Web</strong>DAV?If you use the <strong>Web</strong> Distributed Authoring <strong>and</strong> Versioning protocol (<strong>Web</strong>DAV)to publish content then make sure it is secure. If you do not use it, disable theprotocol.For information on how to secure <strong>Web</strong>DAV, see Microsoft Knowledge Base article323470, “How To: Create a Secure <strong>Web</strong>DAV Publishing Directory.” For informationabout disabling <strong>Web</strong>DAV, see article 241520, “How To Disable <strong>Web</strong>DAV forIIS 5.0.”

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

Saved successfully!

Ooh no, something went wrong!