TAILIEUCHUNG - ASP.NET 3.5 for Dummies phần 8

Thu thập dữ liệu và các nút đẩy Sử dụng danh sách thả xuống và hộp danh sách Trình bày nhiều sự lựa chọn gửi dữ liệu với các hình thức Nhóm nghiên cứu tại Microsoft biết rằng các tin tặc thường vào JavaScript độc hại trong các hộp văn bản. | 276 Part IV Tracking Users Controlling Access and Implementing Security Members Users who register for access. Administrators These are superusers who can add and remove members and generally manage the site. In addition to being registered users they belong to the Administrators role. Configuring forms authentication Forms authentication is the most common type of security for Web sites on the Internet. When users request a restricted page redirects them to a login page. After the user logs in the Web server passes the browser a secure in-memory cookie. Every time the browser requests a secure page from the site the browser presents the cookie. reads the cookie and if it s valid allows the browser to continue. The in-memory cookie one that s not saved on the user s hard drive expires when the user closes the browser. It also expires after 20 minutes the default if the user hasn t requested any more pages from the site. This is why you often have to log back in to a site that you left open during a coffee break. To configure forms authentication 1. In Visual Web Developer choose Configuration. The Web Site Administration Tool opens in the browser as shown in Figure 17-2. 2. Click the Security link. 3. In the lower left of the page in the Users box shown in Figure 17-3 click Select Authentication Type. Figure 17-2 The browserbased Web Site Administration tool. Chapter 17 Site Security Using Authentication and Membership 277 Figure 17-3 Selecting an authentication type for users. Users Existing users 0 Create user Manage users Select authentication type 4. Select the From the Internet radio button and then in the lower right of the page click Done. You may notice later that your project s file needs to be saved it s dirty in geekspeak even though you haven t touched it. The Web Site Administration Tool modifies the authentication setting in your site s file. Here s what was inserted or changed authentication mode

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.