How does SQL Server authenticate windows login ?

  • Hello,

    How does SQL Server authenticate windows login ? I got the following from Microsoft website.

    "When a user connects through a Windows user account, SQL Server validates the account name and password using the Windows principal token in the operating system."

    Can anyone explain little bit more on what exactly happens when logged in with windows login ?

    Thanks in advance.

    San.

  • The user account is given a token which in effect is sort of a hash of the details required to login.

    The account goes to SQL and says hello here is my token

    SQL then goes to the domain controllers and says, Hi, such a user with this token wants to connect, is the information they provided me correct?

    If AD says yes the information matches, you login, if not you dont.

  • Thank a lot. Much clear now.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply