tailieunhanh - ASP.NET 4 Unleashed-Part 2
In the previous chapter, you learned how to use the Login controls to create an entire user registration system. This chapter looks under the covers and examines the security frameworks on which the Login controls are built. The Framework includes four frameworks related to security: | CHAPTER 27 Using Membership In the previous chapter you learned how to use the Login controls to create an entire user registration system. This chapter looks under the covers and examines the security frameworks on which the Login controls are built. The Framework includes four frameworks related to security Authentication Enables you to identify users. Authorization Enables you to authorize users to request particular resources. Membership Enables you to represent users and modify their properties. Role Manager Enables you to represent user roles and modify their properties. In this chapter you learn how to configure authentication authorization Membership and the Role Manager. You learn how to enable Forms authentication and configure advanced Forms authentication features such as cookieless authentication and cross-application authentication. You learn how to configure authorization to control access to resources. We explore several advanced features of authorization. For example you learn how to password-protect images and other files and pages. You also learn how to configure different Membership providers create custom Membership providers and work with the properties and methods of the Membership class. IN THIS CHAPTER Configuring Authentication Configuring Authorization Using ASPNET Membership Using the Role Manager Summary From the Library of Wow eBook 1206 CHAPTER 27 Using Membership For example you learn how to build a custom XmlMembershipProvider that stores membership information in an XML file. Finally we examine the Role Manager. You learn how to create user roles and add and remove users from a particular role. You also learn how to configure the different Role providers included in Framework. Configuring Authentication Authentication refers to the process of identifying who you are. The Framework supports three types of authentication Windows .NET Passport Forms A particular .
đang nạp các trang xem trước