15.6. Exercises

  1. What's the difference between authentication and authorization?

  2. Right now the Management folder is blocked for all users except those in the Managers role. What change do you need to make to the web.config file if you want to open up the folder for the user John and all people in the Editors role?

  3. Imagine you have a web site that features a Login page with a single Login control. What change to the Login control do you need to make to send users to MyProfile.aspx in the root after they log in?

  4. What's the difference between the LoginView and LoginStatus controls? When would you use each one?

Get Beginning ASP.NET 3.5: In C# and VB now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.