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.

Chapter 20: Hosting Multiple <strong>Web</strong> <strong>Application</strong>s 593Run as “NT Authority\NetworkService” or configuredaccountIIS Worker Process(w3wp.exe)aspnet_isapi.dllIIS Worker Process(w3wp.exe)aspnet_isapi.dllIIS Worker Process(w3wp.exe)aspnet_isapi.dll<strong>Web</strong> App1<strong>Web</strong> App2<strong>Web</strong> App3User ModeKernel ModeHTTPRequestshttp.sysASP.NET StateService(aspnet_state.exe)Runs asASPNETFigure 20.2ASP.NET architecture on Windows Server 2003 with IIS 6Compared to the ASP.NET architecture under Windows 2000, the primary differencein Windows Server 2003 is that separate IIS worker process instances (W3wp.exe) canbe used to host <strong>Web</strong> applications. By default, these run using the NTAuthority\NetworkService account, which is a least privileged local account thatacts as the computer account over the network. A <strong>Web</strong> application that runs in thecontext of the Network Service account presents the computer’s credentials to remoteservers for authentication.Configuring ACLs for Network ServiceConfiguring an access control list (ACL) for the Network Service account varies forlocal <strong>and</strong> remote machines. If you want to grant access to the Network Serviceaccount on the local machine, add the Network Service account to an ACL. If youwant to grant access to the Network Service account on a remote machine, add theDomainName\MachineName$ account to an ACL.Note Do not confuse the Network Service account with the Network built-in group, which includesusers who were authenticated across the network.

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

Saved successfully!

Ooh no, something went wrong!