Windows User Login Guidance

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

  1. #1

    Default Windows User Login Guidance


    Hi all!
    I need some guidance. We have a Windows 2003 server that's connected
    to a SQL Server running on Windows 2K and I'd like for the users to be
    able to connect to info in SQL based on their Active Directory user
    info (just like the OMA interface offered on our Exchange server that
    gives users the ability to check their email from home). So basically,
    I want them to have the same access to SQL that they would if they were
    on our intranet if they were at home. I've read about Logon API's,
    creating COM+ components, and lsaLogonUSer, but it seems like there
    would be a simpler more secure way for the user to be prompted to login
    (like the OMA!!) and for that login to match SQL's CURRENT_USER
    function. Can anyone point me in the right direction?
    TIA,
    John



    --
    lajuan
    ------------------------------------------------------------------------
    Posted via [url]http://www.codecomments.com[/url]
    ------------------------------------------------------------------------

    lajuan Guest

  2. Similar Questions and Discussions

    1. Login User from Novell Login
      Hi, At present a user loggin onto our netwok enters their username and password by a Novell Login prompt. When they fire up their browser they...
    2. user and admin login on same login page
      Hello, I have a user login page which also doubles as my administrator login. Currently, my method of logging in doesnt seem to be working...
    3. Login User User Error 80040e21
      I am getting an 80040e21 error using the log in user server behavior. The complete error message is Microsoft OLE DB Provider for SQL Server...
    4. User changing something on a form makes asp.net take user to login page
      Hi, I have an application that displays the database table records on the web page, the user can navigate thru the contents and make changes and...
    5. How to detect Windows 2kXP/NT user login
      I have a problem with embeded font. However my problem is solved by replacing all text/field embeded font to the system font. But, if user login as...
  3. #2

    Default Re: Windows User Login Guidance

    You can have the user's Windows identity flow through to SQL Server natively
    by using a "trusted connection" if you want, but you'll need to configure
    delegation, ensure that Kerberos is being used throughout, and you'll defeat
    connection pooling (because there willl be a pool for each user connecting
    through to SQL Server).

    Cheers
    Ken

    --
    Blog: [url]www.adopenstatic.com/cs/blogs/ken/[/url]
    Web: [url]www.adopenstatic.com[/url]


    "lajuan" <lajuan.1ov0hz@mail.codecomments.com> wrote in message
    news:lajuan.1ov0hz@mail.codecomments.com...
    :
    : Hi all!
    : I need some guidance. We have a Windows 2003 server that's connected
    : to a SQL Server running on Windows 2K and I'd like for the users to be
    : able to connect to info in SQL based on their Active Directory user
    : info (just like the OMA interface offered on our Exchange server that
    : gives users the ability to check their email from home). So basically,
    : I want them to have the same access to SQL that they would if they were
    : on our intranet if they were at home. I've read about Logon API's,
    : creating COM+ components, and lsaLogonUSer, but it seems like there
    : would be a simpler more secure way for the user to be prompted to login
    : (like the OMA!!) and for that login to match SQL's CURRENT_USER
    : function. Can anyone point me in the right direction?
    : TIA,
    : John
    :
    :
    :
    : --
    : lajuan
    : ------------------------------------------------------------------------
    : Posted via [url]http://www.codecomments.com[/url]
    : ------------------------------------------------------------------------
    :


    Ken Schaefer Guest

  4. #3

    Default Windows User Login Guidance


    Thanks for the reply, Ken. The loss of connection pooling shouldn't b
    a problem because there will be a max of 5 users at one time at most.
    How do I ensure that Kerberos is being used thoughout (could you poin
    me to some documentation?).
    Thanks again,
    Joh


    -
    lajua
    -----------------------------------------------------------------------
    Posted via [url]http://www.codecomments.co[/url]
    -----------------------------------------------------------------------

    lajuan Guest

  5. #4

    Default Re: Windows User Login Guidance

    There's a number of things (off the top of my head, there could be more):
    a) IIS must send back WWW-Authenticate: Negotiate header
    b) IE must see the site in the Intranet or Trusted Sites zone
    c) IE must be able to contact a domain controller to get TGT and service
    ticket (so, firewalls usually block this)
    d) Enable Integrated Windows Authentication must be ticked in IE
    e) If you are accessing the IIS website by something other than the NetBIOS
    name, or the web app pool is using a non-default identity, you probably need
    to configure an SPN (Service Principle Name) using SetSPN.exe
    f) Webserver must be marked as trusted for delegation in AD

    This document covers most (if not all) of this stuff:
    [url]http://www.microsoft.com/technet/prodtechnol/windowsserver2003/technologies/security/tkerbdel.mspx[/url]

    Cheers
    Ken

    --
    Blog: [url]www.adopenstatic.com/cs/blogs/ken/[/url]
    Web: [url]www.adopenstatic.com[/url]


    "lajuan" <lajuan.1ovxtx@mail.codecomments.com> wrote in message
    news:lajuan.1ovxtx@mail.codecomments.com...
    :
    : Thanks for the reply, Ken. The loss of connection pooling shouldn't be
    : a problem because there will be a max of 5 users at one time at most.
    : How do I ensure that Kerberos is being used thoughout (could you point
    : me to some documentation?).
    : Thanks again,
    : John
    :
    :
    :
    : --
    : lajuan
    : ------------------------------------------------------------------------
    : Posted via [url]http://www.codecomments.com[/url]
    : ------------------------------------------------------------------------
    :


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