Improving Web Application Security: Threats and Countermeasures

If you are building a new database server from scratch, there are a number of considerations to take into account before installing SQL Server. Also, it is a good idea to perform a custom installation of SQL Server so you can select the most secure installation options.

Before Running SQL Server Setup

Before you run the SQL Server setup program, check the following items:

Installing SQL Server

When installing SQL Server on a production server, choose the custom setup option. When you do this, you can selectively choose the items to install. You should not install the items listed in Table 18.2 on a production database server.

Table 18.2: Items Not to Install During Custom Installation

Tool

Purpose

Upgrade tools

Used to upgrade SQL Server 6.5 databases

Replication support

Script and binary files used for replication. (Do not install unless you need replication.)

Full text search

Full text search engine (Microsoft Search service). Do not install unless you require full text search.

Books online

SQL Server documentation

Development tools

Headers and library files used by C developers and Microsoft Data Access (MDAC), and XML software development kits (SDKs), and an interface for stored procedure debugging.

Code samples

Sample code used to educate developers.

Also, select Windows authentication mode unless SQL Server authentication is specifically required. Windows authentication offers the following advantages:

If you select Mixed Mode, create a strong password for the sa account. The sa account is a prime target for password guessing and dictionary attacks.

Категории