Custom roles with AD and windows authentication

Discussion in 'ASP .Net' started by TS, May 13, 2004.

  1. TS

    TS Guest

    What are my options to implement custom roles and still authenticate with
    active directory and windows authentication? I haven't seen any articles
    saying how to do it, usually it uses forms authentication to do it.
     
    TS, May 13, 2004
    #1
    1. Advertisements

  2. TS

    Guest Guest

    Where are your roles defined

    I think you can intercept the Application_Authenticate event in your global.asa

    ----- TS wrote: ----

    What are my options to implement custom roles and still authenticate wit
    active directory and windows authentication? I haven't seen any article
    saying how to do it, usually it uses forms authentication to do it
     
    Guest, May 13, 2004
    #2
    1. Advertisements

  3. TS

    TS Guest

    Well I"m open to suggestions on where to store those, probably database
     
    TS, May 13, 2004
    #3
  4. Hi TS,

    As for where to store the custom roles, I think there are several means,
    such as
    1. store in xml configure file.
    2. store in Active Directory
    3. store in database

    The #1 is suitable for small and simple set of users and roles or test
    condition.
    #2 is a good approach and commonly used because it makes use of the
    existing established accounts and roles within the OS/Domain but if is not
    very flexible for defining custom user roles.

    #3 Database is a good solutoin for define custom users and roles, which
    could be separated form the OS or Domain's account or groups.

    Just some of my opinions. Hope helps. Thanks.

    Regards,

    Steven Cheng
    Microsoft Online Support

    Get Secure! www.microsoft.com/security
    (This posting is provided "AS IS", with no warranties, and confers no
    rights.)

    Get Preview at ASP.NET whidbey
    http://msdn.microsoft.com/asp.net/whidbey/default.aspx
     
    Steven Cheng[MSFT], May 14, 2004
    #4
  5. TS

    Guest Guest

    thanks
     
    Guest, May 18, 2004
    #5
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.