Drill Details

Level:
3 ?
Duration:
2 hours 30 minutes
Language:
Visual C#

Summary

The objective of this drill is to learn how to implement role-based security in ASP.NET 2.0. You will work with users and roles, learning how to authorize and manage them. This drill also covers the area of role-based code access security.

Audience

This Drill is for developers who want to be able to understand and work with users and roles in their ASP.NET 2.0 applications.

What you'll learn

After taking this Drill, you will be able to create and assign users and roles using either the ASP.NET Web Site Administration tool or using the Role class. Using URL Authorization, you will be able to permit or deny access to specific parts of the web application. You will be able to create a custom role provider when your data source does not satisfy the default providers and you will be able to restrict permission to certain parts of the source code in an application based on roles.

What you need to know

We assume that you’re already familiar with the concepts of programming and you’ve some experience with Visual Studio 2005. For this particular Drill, you’ll also need to be comfortable with Visual C# or Visual Basic syntax and HTML. Although not essential, experience in object-oriented development, server page technology and basic knowledge of SQL Server would also be useful.