ASP.NET 2.0 Security, Membership and Roles Tutorials
2008-02-28 00:28
633 查看
Scott Mitchell recently published
part 5 of his nice series on using the new ASP.NET 2.0
Membership and Roles features. You can read the series
here:
-- Part 1 - Learn about how the membership features make providing user
accounts on your website a breeze. This article covers the basics
of membership, including why it is needed, along with a look at the
security Web controls.
-- Part 2 - Learn how to create roles and assign users to roles. This
article shows how to setup roles, using role-based authorization,
and displaying output on a page depending upon the visitor's
roles.
-- Part 3 - See how to add the membership-related schemas to an existing
database using the ASP.NET SQL Server Registration Tool
(
-- Part 4 - Improve the login experience by showing more informative
messages for users who log on with invalid credentials; also, see
how to keep a log of invalid login attempts.
-- Part 5 - Learn how to customize the Login control. Adjust its
appearance using properties and templates; customize the
authentication logic to include a CAPTCHA.
The Microsoft Patterns and Practices
Group also recently released a reference sample application that
shows best practices on how to implement Internet based security
with ASP.NET 2.0. You can
download the sample and associated documentation
here.
For other great resources on ASP.NET
2.0 Security, please check out this ASP.NET
Security Resources link that I regularly update with links to
tutorials, how-to articles, and books. I also highly recommend buying Stefan Shackow's
ASP.NET Security, Membership and Role Management
book:
Stefan works on the ASP.NET team and
drove much of the design for the ASP.NET 2.0 Security
features. His book does an awesome job of diving into how to
maximize them. It is one of the books I pull down from my
bookshelf to regularly consult when answering questions on the
forums, and it contains a wealth of knowledge to
leverage.
Hope this helps,
Scott
part 5 of his nice series on using the new ASP.NET 2.0
Membership and Roles features. You can read the series
here:
-- Part 1 - Learn about how the membership features make providing user
accounts on your website a breeze. This article covers the basics
of membership, including why it is needed, along with a look at the
SqlMembershipProviderand the
security Web controls.
-- Part 2 - Learn how to create roles and assign users to roles. This
article shows how to setup roles, using role-based authorization,
and displaying output on a page depending upon the visitor's
roles.
-- Part 3 - See how to add the membership-related schemas to an existing
database using the ASP.NET SQL Server Registration Tool
(
aspnet_regsql.exe).
-- Part 4 - Improve the login experience by showing more informative
messages for users who log on with invalid credentials; also, see
how to keep a log of invalid login attempts.
-- Part 5 - Learn how to customize the Login control. Adjust its
appearance using properties and templates; customize the
authentication logic to include a CAPTCHA.
The Microsoft Patterns and Practices
Group also recently released a reference sample application that
shows best practices on how to implement Internet based security
with ASP.NET 2.0. You can
download the sample and associated documentation
here.
For other great resources on ASP.NET
2.0 Security, please check out this ASP.NET
Security Resources link that I regularly update with links to
tutorials, how-to articles, and books. I also highly recommend buying Stefan Shackow's
ASP.NET Security, Membership and Role Management
book:
Stefan works on the ASP.NET team and
drove much of the design for the ASP.NET 2.0 Security
features. His book does an awesome job of diving into how to
maximize them. It is one of the books I pull down from my
bookshelf to regularly consult when answering questions on the
forums, and it contains a wealth of knowledge to
leverage.
Hope this helps,
Scott
相关文章推荐
- ASP.NET 2.0 Membership, Roles, Forms Authentication, and Security Resources
- Professional ASP.NET 2.0 Security, Membership, and Role Management
- 【转贴】考察 ASP.NET 2.0的Membership, Roles, and Profile - Part 4
- ASP.NET 2.0 Membership and Roles Tutorial Series
- 考察ASP.NET 2.0的Membership, Roles和Profile
- 【转贴】考察ASP.NET 2.0的Membership, Roles, and Profile - Part 7
- 考察 ASP.NET 2.0的Membership, Roles, and Profile - Part 3
- 考察ASP.NET 2.0的Membership, Roles和Profile - Part 9
- 【转贴】考察ASP.NET 2.0的Membership, Roles,Profile - Part 8
- 考察ASP.NET 2.0的Membership, Roles,Profile - Part 6
- How to add a Login, Roles and Profile system to an ASP.NET 2.0 app in only 24 lines of code
- 【转贴】考察ASP.NET 2.0的Membership, Roles和Profile - Part 9
- 考察ASP.NET 2.0中的Membership, Roles, and Profile - Part 5
- Always set the "applicationName" property when configuring ASP.NET 2.0 Membership and other Providers
- 考察 ASP.NET 2.0的Membership, Roles, and Profile - Part 4
- 考察ASP.NET 2.0的Membership, Roles, and Profile - Part 7
- 【转贴】考察ASP.NET 2.0中的Membership, Roles, and Profile - Part 5
- 考察ASP.NET 2.0的Membership, Roles,Profile - Part 8
- 考察ASP.NET 2.0的Membership, Roles,Profile
- 【转贴】考察ASP.NET 2.0的Membership, Roles,Profile - Part 6