Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
Hi,
 
I've just started learning ASP.Net (VS2008) and have two questions concerning authentication and authorization.
 
I want to build a website where each users needs to login using a link on the top right of the page. After the login has succeeded, the username (and log off link) must be visible in each page of the website (a presume using masterpages must be used here)
How to I start creating this.
 
There are three kinds of users: Managers (full access), employees (limited access) and clients (very limited access). How do I implement authorization without having to make each webpage three times (ex.: A manager has full accesss to the articles-table, but a client has only read-access).
Posted 2-Jul-12 21:04pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web03 | 2.8.140926.1 | Last Updated 3 Jul 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100