EXERCISE 4.3C REATE A SQL S ERVER L OGINYOU NEED TO ADD A NEW SQL SERV...
7. click on OK and you have completed creating a new SQL
Server login.
Figure 4.7 General Section
Authentication Mode
When you are installing SQL Server 2008, the selection of an authentication mode
for the database engine is required. The choices are either Windows authentication
or mixed mode authentication.
If you select the Windows authentication mode, SQL Server authentication will
be disabled. Selecting mixed mode authentication enables both Windows and
SQL Server authentication. You cannot disable Windows authentication.
When selecting mixed mode authentication you are required to establish a
strong password for the sa account. If you selected Windows authentication, the sa
account will be created but disabled. It is important to remember this because
if you change authentication modes at a later time, you will need to enable this
account and establish a password at that point if you wish to use this account.
Changing the authentication mode can be done at anytime but it does require
that you restart SQL Server. You can change the authentication mode by right
clicking on the server in the SQL Server Management Studio and the change can
be made under security in the Server Authentication section. See Figure 4.9.
T esT D ay T ip
Make sure that you know what you need to do to change the
Authentication mode.
Figure 4.9 SQL Server – Server Authentication Properties
Using Windows Authentication (integrated security) is recommended and
considered to be more secure than using SQL Server logins or mixed mode.
Windows accounts are subject to the built-in security features in Windows and are
sometimes considered to be Trusted connections to SQL Server since Windows
handles the authentication.
If you are using mixed mode, Any SQL Server Logins created that are not based
on Windows user accounts are required to follow strong password guidelines.
Database users using SQL Server logins will need to login using a user name and
password every time they connect.
User must change password at next login – Established in the Log-in
■