Duration: 18 minutes
Summary: In this video we are continuing our discussion of ASP.NET advanced
features. Specifically, we will be talking about access controls. As you are
developing web applications, you know that not every user can access any page
on the site. Some pages have critical information that only specific users can
get to (for example only HR employees can get to the pages the contain
employees salaries). To deal with page access, there are two important
concepts: (1) Authentication (can I login to this page?), (2) Authorization
(now that I am there, what pages can I access). To discuss these concepts, we
will create a page that contains employee pay rates (from the AdventureWorks
database). We will add a grid that contains the employee information. Then we
will add configuration information so only logged in users can get to the page.
of the development of example: Good coding standard
and simplified design to illustrate the key points.
Used: ASP.NET and Visual Studio 2010
Keyword: ASP.NET 4, Visual Studio 2010, Login Controls, Authentication,
Authorization, web.config. Allow, Deny, Anonymous User, GridView.