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.

Chapter 16: Securing Your <strong>Web</strong> Server 443Disable the Guest AccountThe Guest account is used when an anonymous connection is made to the computer.To restrict anonymous connections to the computer, keep this account disabled. Theguest account is disabled by default on Windows 2000. To check whether or not it isenabled, display the Users folder in the Computer Management tool. The Guestaccount should be displayed with a cross icon. If it is not disabled, display itsProperties dialog box <strong>and</strong> select Account is disabled.Rename the Administrator AccountThe default local Administrator account is a target for malicious use because of itselevated privileges on the computer. To improve security, rename the defaultAdministrator account <strong>and</strong> assign it a strong password.If you intend to perform local administration, configure the account to deny networklogon rights <strong>and</strong> require the administrator to log on interactively. By doing so, youprevent users (well intentioned or otherwise) from using the Administrator accountto log on to the server from a remote location. If a policy of local administration is tooinflexible, implement a secure remote administration solution. For more information,see “Remote Administration” later in this chapter.Disable the IUSR AccountDisable the default anonymous Internet user account, IUSR_MACHINE. This iscreated during IIS installation. MACHINE is the NetBIOS name of your server at IISinstallation time.Create a Custom Anonymous <strong>Web</strong> AccountIf your applications support anonymous access (for example, because they use acustom authentication mechanism such as Forms authentication), create a customleast privileged anonymous account. If you run IISLockdown, add your custom userto the <strong>Web</strong> Anonymous Users group that is created. IISLockdown denies access tosystem utilities <strong>and</strong> the ability to write to <strong>Web</strong> content directories for the <strong>Web</strong>Anonymous Users group.If your <strong>Web</strong> server hosts multiple <strong>Web</strong> applications, you may want to use multipleanonymous accounts, one per application, so that you can secure <strong>and</strong> audit theoperations of each application independently.For more information about hosting multiple <strong>Web</strong> applications see Chapter 20,“Hosting Multiple <strong>Web</strong> <strong>Application</strong>s.”

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

Saved successfully!

Ooh no, something went wrong!