Multiple Authentication Modes

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default Multiple Authentication Modes

    Hi,

    How can I accomplish multiple authentication modes in one application?

    I have the following scenario:

    - A company, X, has some employees
    - Those on rolls have an AD account
    - Those not, have an account that's managed in a separate DB

    - I want AD (NTLM/Windows) authentication as well as Forms
    authentication. How can I accomplish this?

    Is it possible to create an httpModule and then... based on some
    conditions, delegate the requests to the NTLM / Forms login-handlers?

    I would like to expand this to allow multiple modes -- which may get
    complex later (with a few more custom modes added in) ...


    --

    Happy Hacking,
    Gaurav Vaish
    [url]http://www.mastergaurav.org/gallery[/url]
    -----------------------------------



    Gaurav Vaish Guest

  2. Similar Questions and Discussions

    1. Multiple authentication schemes
      Hi, I am currently using a ASP.NET CMS system(umbraco.org) which uses forms authentication. The forms authentication is used to allow editing of...
    2. Authentication and multiple browser session
      Hi, I have discovered what I consider to be an annoyance at best and, in some scenarios, a security flaw. After browsing the news groups, I...
    3. Need to handle multiple types of authentication, need help
      I've got an ASP.NET project that i need to support multiple types of login authentication. I've tried initially to create a login system where you...
    4. Form Authentication in ASP.NET for multiple users
      Hi Can I implement Form Authentication in ASP.NET for different users(Number of different users is not fixed). Regards Vinayak
    5. Authentication modes
      Hi wondering if it's possible to switch between two authentication modes? for example switch to Cookie authentication when a windows...
  3. #2

    Default Re: Multiple Authentication Modes

    Hi Gaurav,

    I have just written an article that describes exactly how to do what you
    want.

    Its still awaiting publishing approval before being made public, but I'd be
    happy to forward it to you to help you out. If interested, contact me at
    [email]glav@aspalliance.com[/email]-NOSPAM. Obviously remove the "-NOSPAM" from my email
    address.

    --
    - Paul Glavich
    Microsoft MVP - ASP.NET


    "Gaurav Vaish" <mDaOsNtOeTrSgPaAuMrPaLvS.nospam@nospam.lycos.co m> wrote in
    message news:e8K7jOnsEHA.3564@tk2msftngp13.phx.gbl...
    > Hi,
    >
    > How can I accomplish multiple authentication modes in one application?
    >
    > I have the following scenario:
    >
    > - A company, X, has some employees
    > - Those on rolls have an AD account
    > - Those not, have an account that's managed in a separate DB
    >
    > - I want AD (NTLM/Windows) authentication as well as Forms
    > authentication. How can I accomplish this?
    >
    > Is it possible to create an httpModule and then... based on some
    > conditions, delegate the requests to the NTLM / Forms login-handlers?
    >
    > I would like to expand this to allow multiple modes -- which may get
    > complex later (with a few more custom modes added in) ...
    >
    >
    > --
    >
    > Happy Hacking,
    > Gaurav Vaish
    > [url]http://www.mastergaurav.org/gallery[/url]
    > -----------------------------------
    >
    >
    >

    Paul Glavich [MVP - ASP.NET] Guest

  4. #3

    Default Re: Multiple Authentication Modes

    Thanks, Paul, for your reply.

    Kindly check your mail.

    --

    Happy Hacking,
    Gaurav Vaish
    [url]http://www.mastergaurav.org[/url]
    -----------------------------------


    "Paul Glavich [MVP - ASP.NET]" <glav@aspalliance.com-NOSPAM> wrote in
    message news:OG4yTAEtEHA.2124@TK2MSFTNGP11.phx.gbl...
    > Hi Gaurav,
    >
    > I have just written an article that describes exactly how to do what you
    > want.
    >
    > Its still awaiting publishing approval before being made public, but I'd
    be
    > happy to forward it to you to help you out. If interested, contact me at
    > [email]glav@aspalliance.com[/email]-NOSPAM. Obviously remove the "-NOSPAM" from my email
    > address.
    >
    > --
    > - Paul Glavich
    > Microsoft MVP - ASP.NET
    >
    >
    > "Gaurav Vaish" <mDaOsNtOeTrSgPaAuMrPaLvS.nospam@nospam.lycos.co m> wrote in
    > message news:e8K7jOnsEHA.3564@tk2msftngp13.phx.gbl...
    > > Hi,
    > >
    > > How can I accomplish multiple authentication modes in one
    application?
    > >
    > > I have the following scenario:
    > >
    > > - A company, X, has some employees
    > > - Those on rolls have an AD account
    > > - Those not, have an account that's managed in a separate DB
    > >
    > > - I want AD (NTLM/Windows) authentication as well as Forms
    > > authentication. How can I accomplish this?
    > >
    > > Is it possible to create an httpModule and then... based on some
    > > conditions, delegate the requests to the NTLM / Forms login-handlers?
    > >
    > > I would like to expand this to allow multiple modes -- which may get
    > > complex later (with a few more custom modes added in) ...
    > >
    > >
    > > --
    > >
    > > Happy Hacking,
    > > Gaurav Vaish
    > > [url]http://www.mastergaurav.org/gallery[/url]
    > > -----------------------------------
    > >
    > >
    > >
    >
    >

    Gaurav Vaish Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139