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.

596 Part IV: Securing Your Network, Host, <strong>and</strong> <strong>Application</strong> To use multiple anonymous accounts for resource accessThis procedure describes how to use multiple anonymous accounts, one per <strong>Web</strong>application, for resource access to support individual application authorization <strong>and</strong>auditing.1. Create new anonymous user accounts, one per application.For more information about creating an anonymous user account, see the“Accounts” section in Chapter 16, “Securing Your <strong>Web</strong> Server.”If you need to access remote resources using the anonymous account, either use aleast privileged domain account, or use a local account <strong>and</strong> create a duplicatedlocal account on the remote server with a matching user name <strong>and</strong> password.2. Use tags in Machine.config to configure each <strong>Web</strong> application forimpersonation.The allowOverride=“false” setting prevents an individual application fromoverriding this setting in a <strong>Web</strong>.config file. For more information about the element, see “Machine.config <strong>and</strong> <strong>Web</strong>.config Explained” inChapter 19, “Securing Your ASP.NET <strong>Application</strong> <strong>and</strong> <strong>Web</strong> Services.”3. Use Internet Services Manager to configure each application’s virtual directory touse a separate anonymous user account.a. Start Internet Services Manager from the Administrative Tools program group.b. Select the application’s application directory, right-click <strong>and</strong> then clickProperties.c. Click the <strong>Security</strong> tab <strong>and</strong> then click the Edit button.d. Ensure Anonymous access is selected <strong>and</strong> click Edit.e. Enter the user name for the anonymous account that you have created, or clickBrowse to select the user name from a list.f. If you want to use the account to access a remote resource, clear the Allow IISto Control Password checkbox for the anonymous account.If you select Allow IIS to Control Password, the logon session created usingthe specified anonymous account has NULL network credentials <strong>and</strong> cannot beused to access network resources where authentication is required. If you clearthis checkbox, the logon session is an interactive logon session with networkcredentials. However, if the account is local to the machine, no other machineon the network can authenticate the account. In this scenario, create a duplicateaccount on the target remote server.

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

Saved successfully!

Ooh no, something went wrong!