TAILIEUCHUNG - Professional ASP.NET 2.0 Security, Membership, and Role Management phần 2

Nếu bạn chạy các mẫu mã được hiển thị trước đó kết nối với SQL Server, một ngoại lệ an ninh được đưa ra. Tuy nhiên, nếu thay vào đó bạn cố gắng kết nối đến một cơ sở dữ liệu MDB, như ví dụ sau đây cho thấy, các công trình tất cả mọi thứ: / / Sử dụng một chuỗi kết nối Sql vào thời điểm này sẽ cho kết quả trong một | Security Processing for Each Request The user on the HttpContext when the page executes is null or empty br else The user on the HttpContext when the page executes is br The user on the HttpContext is of type br The user on the HttpContext and the thread principal point at the same object User br The information is displayed running on an application with the following characteristics The site is running locally on the web server that is not on a UNC share . IIS has Anonymous and Integrated Authentication enabled. is using the default mode of Windows for authentication. The identity element s impersonate attribute is set to false. The page output is shown here The OS thread identity during BeginRequest is NT AUTHORITY NETWORK SERVICE The managed thread identity during BeginRequest is null or empty The managed thread identity during BeginRequest is a GenericPrincipal True The user on the HttpContext during BeginRequest is null The OS thread identity when the page executes is NT AUTHORITY NETWORK SERVICE The managed thread identity when the page executes is null or empty The managed thread identity is of type The user on the HttpContext when the page executes is null or empty The user on the HttpContext is of type The user on the HttpContext and the thread principal point at the same object True The operating system thread identity makes sense because this is the identity of the underlying IIS6 worker process. The runtime is not impersonating any identity so the security context of the thread is not reset by . As mentioned earlier during BeginRequest neither the HttpContext nor the Thread object have had any security information explicitly set by . The security information during page execution is a bit more interesting. The .

TỪ KHÓA LIÊN QUAN
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.