Extract SID from IWA response

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

  1. #1

    Default Extract SID from IWA response

    It appears in .NET 2.0 there is a property of the
    System.Security.Principal.WindowsIdentity class called User that returns a
    string representation of a user's SID after they have authenticated using
    IWA. My question, is a similar property in .NET 1.1 from another class that
    will return the same information? I know there are several properties that
    return a domain/username string but to get the SID requires an DS lookup
    function which is performed across the wire. The application we are
    developing resides on a web server in a domain that has several dozen trust
    relationships to "account" domains across WAN links with varying speeds. To
    maximize performance, the user property appears to work without going over
    the wire. I am assuming it is getting this from the Kerberos authenticator
    that is passed during the IWA handshake.

    Thanks,
    Kevin
    Kevin Dorle Guest

  2. Similar Questions and Discussions

    1. Slow login response response on TS 03 in AD mixed mode
      We upgraded our NT 4 domain to an AD mixed until we get rid of the NT 4 BDC;s after completing this upgrade users began complaining about how long...
    2. Response.Flush / Response.Redirect
      Hi, I've had a good google and can't find anything already on this so : I'm currently trying to have a 'Page Loading' page on a site. The way...
    3. AW7 vs. DirectorMX for psychology experiment using response times AND response answers
      Hello, I'm very new to application design, but need to develop a web based application to use at multiple schools as part of an experimental...
    4. Response.Write and Response.Redirect
      On my Page_Load event, i need to do some validation and then either let them proceed, or display a error message and boot them back to the previous...
  3. #2

    Default Re: Extract SID from IWA response

    The way to do this in .NET 1.1 would be to do a p/invoke on the
    GetTokenInformation API using the Token property of the WindowsIdentity
    class as the main input. You don't need to do a DS call to get the SID when
    you have the token.

    There are some nice wrapper classes out there that support this such as the
    one on GotDotNet Win32 Security Library or DataMarvel.

    Joe K.

    "Kevin Dorle" <Kevin [email]Dorle@discussions.microsoft.com[/email]> wrote in message
    news:33A76FA6-6405-4909-8F77-24BB55417A0B@microsoft.com...
    > It appears in .NET 2.0 there is a property of the
    > System.Security.Principal.WindowsIdentity class called User that returns a
    > string representation of a user's SID after they have authenticated using
    > IWA. My question, is a similar property in .NET 1.1 from another class
    > that
    > will return the same information? I know there are several properties
    > that
    > return a domain/username string but to get the SID requires an DS lookup
    > function which is performed across the wire. The application we are
    > developing resides on a web server in a domain that has several dozen
    > trust
    > relationships to "account" domains across WAN links with varying speeds.
    > To
    > maximize performance, the user property appears to work without going over
    > the wire. I am assuming it is getting this from the Kerberos
    > authenticator
    > that is passed during the IWA handshake.
    >
    > Thanks,
    > Kevin

    Joe Kaplan \(MVP - ADSI\) 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