Need to handle multiple types of authentication, need help

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

  1. #1

    Default 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 are
    presented with an Account / Password page and then also a link that would
    allow them to say "Use my Windows NT account". The forms authentication is
    a breeze, however I cannot get the Windows authentication to work correctly
    without prompting me for a Username/Password when I login.

    During development, I'm testing locally on WinXP, when deployed, its on
    either Win2K server or Win2K3 server. Kerberos authentication is enabled on
    the account and the machine, so I cannot understand why it continues to
    prompt for the password. The same code works perfectly in ASP, but not in
    ASP.NET.

    Can anyone give me some pointers on how to possibly get this to work because
    once I get this working, I've still got to implement LDAP and a custom login
    protocol too, but I first need to make sure the main SQL/Windows
    authentication can work correctly in ASP.NET.

    On the virtual folder, both Anonymous and WIA are enabled.
    BASIC/Passport/Digest are all turned off.

    Thanks,
    michael


    Mike Guest

  2. Similar Questions and Discussions

    1. Multiple Handle on same file for appending
      Hi, Is it possible to open multiple textstream on a same file for appending lines ? I would like to manage a logfile for my application that...
    2. Advanced OOP: Best OO design for rendering multiple page types to multiple devices
      Hoping to get some ideas from more experienced hands regarding the best way to use object-oriented design to assist my development of a content...
    3. How to handle multiple users uploading?
      I'm curious if anyone has a prefered method to allow people to sign up for an account, and create a space for them to upload files. Use something...
    4. Handle Multiple Check Boxes?
      I have a PHP generated page which displays X many records. Each record has a checkbox preceding it. The user checks several checkboxes, and hits a...
    5. ASP.NET Forms Authentication Via A SQL Server Database With Windows User types?
      We have built an ASP.NET application that will run on the Intranet using SQL 2000 as our data layer. We have decided to use Form Authentication...
  3. #2

    Default Need to handle multiple types of authentication, need help

    Ran into this recently, perhaps the best way to do this
    would be for you use forms authentication and then
    programattically authenticate the user off the Active
    Directory. Then impersonate the authenticated user.

    [url]http://support.microsoft.com/default.aspx?scid=kb;EN-[/url]
    US;326340

    I hope I'm reading your request right. Please let me
    know.
    >-----Original Message-----
    >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 are
    >presented with an Account / Password page and then also
    a link that would
    >allow them to say "Use my Windows NT account". The
    forms authentication is
    >a breeze, however I cannot get the Windows
    authentication to work correctly
    >without prompting me for a Username/Password when I
    login.
    >
    >During development, I'm testing locally on WinXP, when
    deployed, its on
    >either Win2K server or Win2K3 server. Kerberos
    authentication is enabled on
    >the account and the machine, so I cannot understand why
    it continues to
    >prompt for the password. The same code works perfectly
    in ASP, but not in
    >ASP.NET.
    >
    >Can anyone give me some pointers on how to possibly get
    this to work because
    >once I get this working, I've still got to implement
    LDAP and a custom login
    >protocol too, but I first need to make sure the main
    SQL/Windows
    >authentication can work correctly in ASP.NET.
    >
    >On the virtual folder, both Anonymous and WIA are
    enabled.
    >BASIC/Passport/Digest are all turned off.
    >
    >Thanks,
    >michael
    >
    >
    >.
    >
    Keith 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