Đang chuẩn bị liên kết để tải về tài liệu:
Microsoft ASP .NET Fast & Easy Web Development phần 9

Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ

và phiên bản của hội đồng này cho một dịch vụ Web. Các file Global.asax chứa mã cho các sự kiện được tạo ra trong các dự án WebService1. Ngoài ra, các file Global.asax định nghĩa biến với phạm vi mức độ ứng dụng và quản lý ứng dụng và trạng thái phiên. | 7. Click on OK. The Extended Logging Properties dialog box will close and the Default Web Site Properties dialog box will reappear. Note The default location for log files is in the C Winnt System32 LogFiles directory. 8. Click on Apply. The changes that you made will be applied. 9. Click on OK. The Default Web Site Properties dialog box will close. This completes the discussion on securing ASP.NET applications using IIS. However ASP.NET also includes a robust authentication mechanism that can provide even greater security for a Web site. In the next section I will examine the implementation of authentication in ASP.NET. Implementing Authentication in ASP.NET In addition to IIS ASP.NET implements its own authentication mechanism. This mechanism is based on the XML-based configuration of the application in the Web.config file. In this section I will describe the types of authentication mechanisms supported by ASP.NET. Then I ll examine the steps to implement two authentication mechanisms Forms authentication and Windows authentication. Types of Authentication in ASP.NET ASP.NET supports three types of authentication mechanisms Forms authentication Passport authentication and Windows authentication. Forms authentication. The Forms authentication mechanism enables you to use a log-on form to authenticate users before they access the Web application. When users request a resource on the Web site the application determines whether the user is authenticated. If the user is not authenticated the Web application directs the user to a pre-defined log-on form. When the user successfully logs on using the log-on form he or she is redirected to the resource that was initially requested. Passport authentication. The Passport authentication mechanism is based on the Microsoft Passport authentication service. The Microsoft Passport authentication service enables you to authenticate users against their accounts with the service. See Chapter 1 Introducing the .NET Initiative for .

crossorigin="anonymous">
Đã 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.