TAILIEUCHUNG - Beginning SQL Server 2008 for Developers From Novice to Professional phần 2

Tạo một tài khoản người dùng mới 6. Vào tên tài khoản và Chọn một hộp thoại Type, như tài khoản bạn muốn để thêm một tên người dùng thứ hai. Lặp lại quá trình trước đó bằng cách sử dụng các chi tiết sau đây: Username: VMcGlynn Loại tài khoản: (Computer) quản trị 7. Đăng xuất khỏi Windows và sau đó đăng nhập vào bằng cách sử dụng ID đầu tiên mà bạn đã tạo: JThakur. | 20 CHAPTER 1 SQL SERVER 2008 OVERVIEW AND INSTALLATION Figure 1-11. Creating a new user account 6. Stay in the Name the Account and Choose an Account Type dialog box as you want to add a second username. Repeat the preceding process using the following details Username VMcGlynn Account type Computer Administrator 7. Log off from Windows and then log on using the first ID that you created JThakur. 8. Once logged in start up SQL Server Management Studio by selecting Start All Programs Microsoft SQL Server 2008 SQL Server Management Studio. You will need to populate the dialog with the server name of the install. Click on Browse For More then select Database Engine and select the install. We go through this in more detail in Chapter 2. The dialog should look like Figure 1-12. 9. Examine the error message that appears which should resemble what you see in Figure 1-13. JThakur as a login has not been defined within SQL Server specifically and does not belong to a group that allows access. The only group at the minute is a user who is in the Administrators Windows group. Recall that JThakur is a Limited user. 10. We will now try out the other user we created. Close down SQL Server log off Windows and log on using the second ID we created VMcGlynn. Once logged in start up SQL Server Management Studio and connect to your server. This time the login will work. We have created two usernames one that has restricted access JThakur and one that has administration rights VMcGlynn . However neither of these specific usernames exists within SQL Server itself after all we haven t entered them and they haven t appeared as if by magic. So why did one succeed and one fail The Windows security model has ensured that both IDs are valid. If the ID or password were incorrect there would be no way that you could be logged in to Windows. Therefore when you try to connect to SQL Server the only check that is performed is whether the user has access to SQL Server either via membership of an .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.