08.01.2015 Views

Beginning Web Development, Silverlight, and ASP.NET AJAX

Beginning Web Development, Silverlight, and ASP.NET AJAX

Beginning Web Development, Silverlight, and ASP.NET AJAX

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

76<br />

CHAPTER 4 ■ DATA BINDING WITH <strong>ASP</strong>.<strong>NET</strong><br />

Your next step is to set the authentication mode for SQL Server (see Figure 4-6).<br />

There are two ways you can log into the database. You can use Windows authentication<br />

only when your Windows sign-on credentials are used to access the database, <strong>and</strong> you<br />

can use Mixed Mode authentication when SQL Server has its own set of credentials.<br />

Windows authentication is considered the most secure <strong>and</strong> direct method of authentication,<br />

<strong>and</strong> for this book, I recommend that you use it. You also have the option of using<br />

Mixed Mode authentication for greater flexibility. Should you do this, you will have to<br />

configure the sa login, which is the credential set for the SQL Server administrator.<br />

Figure 4-6. Configuring the SQL Server authentication mode<br />

The next screen allows you to set the configuration options (see Figure 4-7). There<br />

are two main options that you can set. The first is Enable User Instances, which if set will<br />

allow users that do not have administrative access to run separate instances of the SQL<br />

Server Express engine. The second, if set, will add the user that is installing the database<br />

as a SQL Server administrator. You can see this in Figure 4-7.

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

Saved successfully!

Ooh no, something went wrong!