Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net Security (http://www.velocityreviews.com/forums/f62-asp-net-security.html)
-   -   Passing Security Context to remote objects (http://www.velocityreviews.com/forums/t764950-passing-security-context-to-remote-objects.html)

STom 08-30-2003 12:47 PM

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



Hernan Ochoa 09-03-2003 02:37 PM

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




STom 09-05-2003 11:48 AM

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

>
>




Hernan Ochoa 09-05-2003 04:19 PM

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

> >
> >

>
>





All times are GMT. The time now is 06:43 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


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