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. General Programming
  3. Visual Basic
  4. Single Sign On (SSO)

Single Sign On (SSO)

Scheduled Pinned Locked Moved Visual Basic
databasequestioncsharpsql-servercom
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.
  • R Offline
    R Offline
    Ridge Howison
    wrote on last edited by
    #1

    Hello All, Thank you for reading this post. Iam trying to build a single sign on, so that other applications in my company can be reached by just logging once. Here is how it is: 1. Lets say the site i build is called abc.com 2. I want the user to logon to abc.com, all my user info is in a SQL Server database 3.Once login is determined successful, we go to a welcome page in abc.com... From abc.com, there is a link called link1.abc.com which is a different application... here i dont want the application to ask for logon credentials again, it should give access to the user because user was validated in abc.com 4. Expanding this...how to I provide this service if i have more that 3 applications...??? My company cannot afford LDAP...all we have is a good SQL Server database, .NET 2005...what is the quickest and best way to acheive single sign on ??? Is there a free third party tool/ open source available? Sample code, articles explaining things are very very welcome !! Thank you RH

    N 1 Reply Last reply
    0
    • R Ridge Howison

      Hello All, Thank you for reading this post. Iam trying to build a single sign on, so that other applications in my company can be reached by just logging once. Here is how it is: 1. Lets say the site i build is called abc.com 2. I want the user to logon to abc.com, all my user info is in a SQL Server database 3.Once login is determined successful, we go to a welcome page in abc.com... From abc.com, there is a link called link1.abc.com which is a different application... here i dont want the application to ask for logon credentials again, it should give access to the user because user was validated in abc.com 4. Expanding this...how to I provide this service if i have more that 3 applications...??? My company cannot afford LDAP...all we have is a good SQL Server database, .NET 2005...what is the quickest and best way to acheive single sign on ??? Is there a free third party tool/ open source available? Sample code, articles explaining things are very very welcome !! Thank you RH

      N Offline
      N Offline
      Naji El Kotob
      wrote on last edited by
      #2

      Hi, On the root add a config file with the following: /authentication authorization allow users="*" / /authorization in the protected areas (e.g. Apps) add a web.config file with the following: authorization deny users="?" / /authorization In the login form: Check your SQL database... IF it's OK - > FormsAuthentication.RedirectFromLoginPage(txtUsername.Text, False) Hope this helps ;)

      NajiCo http://www.InsideVB.NET[^] It's nice 2b important, but it's more important 2b nice...

      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