This workshop will help reinforce the concepts covered in today's lesson. The answers can be found in Appendix A.
What's the difference between authentication and authorization?
What's the difference between basic and digest authentication?
What's the anonymous user account's name in Windows?
Write some code to set an authorization cookie and redirect to an originating URL.
What does the second parameter in the SetAuthCookie method do?
Will the following code work?
<configuration> <authentication mode="Forms"> <forms name="AuthCookie" loginUrl="day21/login.aspx"> </forms> </authentication> </configuration>
What do the wildcard characters * and ? mean to ASP.NET within the authorization section of web.config?
True or False: When impersonation is enabled, ASP.NET can operate on behalf of the operating system.
Create a login page that validates user credentials against a database. Create a web.config file that uses forms authentication and directs all anonymous users to this login page.