Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Role Based Authentication

Role Based Authentication

Scheduled Pinned Locked Moved ASP.NET
databasesql-serversysadminsecurity
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hakanaktan
    wrote on last edited by
    #1

    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--

    M 1 Reply Last reply
    0
    • H hakanaktan

      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--

      M Offline
      M Offline
      minhpc_bk
      wrote on last edited by
      #2

      Hi there, You might want to check out a great article of Heath posted on CP: http://www.codeproject.com/aspnet/formsroleauth.asp[^]

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups