Posted on: 3/27/2011 9:30:48 AM | Views : 281

Hi!
I am new in .NET. I need the following:
- I have roles like Admin, User etc.
- For every aspx page in db I will define which role can access it
- There are some extra rules for some aspx pages.
 
For example, page Test.aspx is allowed for Admins and Users as it is define in db tale RolesPages. However, for this page there is an extra rule - if User is not active in db then it could not see the page. There are just some pages with some extra rules that are not defined in RolesPages and should be processed specifically.
I wonder:
- which mechanism should I use to authentificate user?
- I have already have Login page which checks if username and password is correct, however, I do not use any configurations from web.config
- Should I call authenficitaion method  in every page in Page_Load method?
- Please, give me some guidelines, I have read some tutorials, but do not understand the wh ...

Go to the complete details ...