Role Based Authentication
-
Hi, I have a project and am trying to add role based(by sql) authentication on it. Here is my scenerio: There are 3 types of users and all of them have 1 folder under project.I have one login page at upper folder of these 3 folders.Users login from this login page and redirect to their own folders. All 3 types of my users have some roles (admin,user..etc.) and i have their list and roles at sql server. I read articles about this but could not get it clearly..I could not get what to write to the web.config file of (admin role)user folder or (user type) user folders. Do someone have full code of role based authentication or a simple explanation of this subject. Thanx in advance --junior coder--
-
Hi, I have a project and am trying to add role based(by sql) authentication on it. Here is my scenerio: There are 3 types of users and all of them have 1 folder under project.I have one login page at upper folder of these 3 folders.Users login from this login page and redirect to their own folders. All 3 types of my users have some roles (admin,user..etc.) and i have their list and roles at sql server. I read articles about this but could not get it clearly..I could not get what to write to the web.config file of (admin role)user folder or (user type) user folders. Do someone have full code of role based authentication or a simple explanation of this subject. Thanx in advance --junior coder--