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)

  Print Answers RSS
0 Maciej Los 404
1 OriginalGriff 379
2 CPallini 145
3 Sergey Alexandrovich Kryukov 142
4 Hard_Rockz 115
0 OriginalGriff 5,634
1 Sergey Alexandrovich Kryukov 4,763
2 Peter Leow 2,954
3 Maciej Los 2,614
4 DamithSL 2,465


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