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.

440 Part IV: Securing Your Network, Host, <strong>and</strong> <strong>Application</strong>Disable the ASP.NET State Service Unless You Require ItThe .NET Framework installs the ASP.NET State service (aspnet_state.exe) to manageout-of-process user session state for ASP.NET <strong>Web</strong> applications <strong>and</strong> <strong>Web</strong> services. Bydefault, this service is configured for manual startup <strong>and</strong> runs as the least privilegedlocal ASPNET account. If none of your applications store state by using this service,disable it. For more information on securing ASP.NET session state, see the “SessionState” section in Chapter 19, “Securing Your ASP.NET <strong>Application</strong> <strong>and</strong> <strong>Web</strong>Services.”Step 4. ProtocolsBy preventing the use of unnecessary protocols, you reduce the potential for attack.The .NET Framework provides granular control of protocols through settings in theMachine.config file. For example, you can control whether your <strong>Web</strong> Services can useHTTP GET, POST or SOAP. For more information about configuring protocols inMachine.config, see “Step 16. Machine.config.”During this step, you:● Disable or secure <strong>Web</strong>Dav.●●Harden the TCP/IP stack.Disable NetBIOS <strong>and</strong> SMB.Disable or Secure <strong>Web</strong>DAVIIS supports the <strong>Web</strong>DAV protocol, which is a st<strong>and</strong>ard extension to HTTP 1.1 forcollaborative content publication. Disable this protocol on production servers if it isnot used.Note IISLockdown provides an option to remove support for <strong>Web</strong>DAV.<strong>Web</strong>DAV is preferable to FTP from a security perspective, but you need to secure<strong>Web</strong>DAV. For more information, see Microsoft Knowledge Base article 323470, “HowTo: Create a Secure <strong>Web</strong>DAV Publishing Directory.”If you do not need <strong>Web</strong>DAV, see Microsoft Knowledge Base article 241520, “How To:Disable <strong>Web</strong>DAV for IIS 5.0.”Harden the TCP/IP StackWindows 2000 supports the granular control of many parameters that configure itsTCP/IP implementation. Some of the default settings are configured to provideserver availability <strong>and</strong> other specific features.

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

Saved successfully!

Ooh no, something went wrong!