Passing Security Context to remote objects

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

  1. #1

    Default Passing Security Context to remote objects

    I have an asp.net app that is using .Net remoting (tcp/binary).

    I am using Integrated Windows Authentication and will be authenticating
    against active directory.

    I will then need to use the ADSI DirectoryEntry and/or DirectorySearch to
    get the groups the user is in.

    Is there a way to pass the users security context that I get back from AD
    over to the remoting server so that I can do the searching from there?

    Thanks.

    STom


    STom Guest

  2. Similar Questions and Discussions

    1. To obtain Web Service security context
      Hello all! I'd like to to impersonate the domain account a web service runs under. I need this to do a trusted connection to SQL Server. The...
    2. MSXML what security context is used?
      If I create an MSXML4 object in an ASP page (set xmldoc = Server.CreateObject("Msxml2.DOMDocument.4.0") .... and then apply an XSL stylesheet...
    3. Security context is invalid '800706d5'
      Hi, We have an iis server where we host several websites. One of our websites has been consistently throwing the following error "Automation...
    4. Security context question
      If I turn off anonymous access to an ASP page and then use "Integrated Authentication" in a Intranet environment, I expected the user context to be...
    5. is this an acceptable way of passing objects to other objects?
      I've read that objects should always be passed by reference to other objects. I've also read that future versions of PHP may not support runtime...
  3. #2

    Default Re: Passing Security Context to remote objects

    Hi!,

    How exactly is your app performing authentication using win auth?
    are you using SSPI and a custom channel? if you're authenticating the user
    at the client, you should do it at the server instead.
    you should use SSPI and authentication will be done at the remoting server,
    and then you'll have the context there.

    if you think I'm missing sthg, let me know.
    bye

    "STom" <stombiztalker@hotmail.com> wrote in message
    news:etKWdTvbDHA.2284@TK2MSFTNGP12.phx.gbl...
    > I have an asp.net app that is using .Net remoting (tcp/binary).
    >
    > I am using Integrated Windows Authentication and will be authenticating
    > against active directory.
    >
    > I will then need to use the ADSI DirectoryEntry and/or DirectorySearch to
    > get the groups the user is in.
    >
    > Is there a way to pass the users security context that I get back from AD
    > over to the remoting server so that I can do the searching from there?
    >
    > Thanks.
    >
    > STom
    >
    >

    Hernan Ochoa Guest

  4. #3

    Default Re: Passing Security Context to remote objects

    The authentication is being performed automatically by using Integrated
    Windows Security, therefore there is no reason to do this on the server
    side.

    We have figured out that we do not need to pass the security context to the
    server to do what we need to do, but thanks for your answer anyway.

    lw
    "Hernan Ochoa" <hochoa@corest.com> wrote in message
    news:%233pY$jicDHA.2508@tk2msftngp13.phx.gbl...
    > Hi!,
    >
    > How exactly is your app performing authentication using win auth?
    > are you using SSPI and a custom channel? if you're authenticating the user
    > at the client, you should do it at the server instead.
    > you should use SSPI and authentication will be done at the remoting
    server,
    > and then you'll have the context there.
    >
    > if you think I'm missing sthg, let me know.
    > bye
    >
    > "STom" <stombiztalker@hotmail.com> wrote in message
    > news:etKWdTvbDHA.2284@TK2MSFTNGP12.phx.gbl...
    > > I have an asp.net app that is using .Net remoting (tcp/binary).
    > >
    > > I am using Integrated Windows Authentication and will be authenticating
    > > against active directory.
    > >
    > > I will then need to use the ADSI DirectoryEntry and/or DirectorySearch
    to
    > > get the groups the user is in.
    > >
    > > Is there a way to pass the users security context that I get back from
    AD
    > > over to the remoting server so that I can do the searching from there?
    > >
    > > Thanks.
    > >
    > > STom
    > >
    > >
    >
    >

    STom Guest

  5. #4

    Default Re: Passing Security Context to remote objects

    oh, ok, so your remoting client was a webapp? sorry, I should've guessed it
    :)
    mm, who does the search? the remoting server? mm, well, I don't actually
    understand exactly what you're
    doing, but if your remoting server is not requiring any kind of
    authentication/authz, I'd shtg about that.

    bye!


    "STom" <stombiztalker@hotmail.com> wrote in message
    news:%23d5Z0O6cDHA.2296@TK2MSFTNGP09.phx.gbl...
    > The authentication is being performed automatically by using Integrated
    > Windows Security, therefore there is no reason to do this on the server
    > side.
    >
    > We have figured out that we do not need to pass the security context to
    the
    > server to do what we need to do, but thanks for your answer anyway.
    >
    > lw
    > "Hernan Ochoa" <hochoa@corest.com> wrote in message
    > news:%233pY$jicDHA.2508@tk2msftngp13.phx.gbl...
    > > Hi!,
    > >
    > > How exactly is your app performing authentication using win auth?
    > > are you using SSPI and a custom channel? if you're authenticating the
    user
    > > at the client, you should do it at the server instead.
    > > you should use SSPI and authentication will be done at the remoting
    > server,
    > > and then you'll have the context there.
    > >
    > > if you think I'm missing sthg, let me know.
    > > bye
    > >
    > > "STom" <stombiztalker@hotmail.com> wrote in message
    > > news:etKWdTvbDHA.2284@TK2MSFTNGP12.phx.gbl...
    > > > I have an asp.net app that is using .Net remoting (tcp/binary).
    > > >
    > > > I am using Integrated Windows Authentication and will be
    authenticating
    > > > against active directory.
    > > >
    > > > I will then need to use the ADSI DirectoryEntry and/or DirectorySearch
    > to
    > > > get the groups the user is in.
    > > >
    > > > Is there a way to pass the users security context that I get back from
    > AD
    > > > over to the remoting server so that I can do the searching from there?
    > > >
    > > > Thanks.
    > > >
    > > > STom
    > > >
    > > >
    > >
    > >
    >
    >

    Hernan Ochoa 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