Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > Passing Security Context to remote objects

Reply
Thread Tools

Passing Security Context to remote objects

 
 
STom
Guest
Posts: n/a
 
      08-30-2003
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


 
Reply With Quote
 
 
 
 
Hernan Ochoa
Guest
Posts: n/a
 
      09-03-2003
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" <> wrote in message
news:...
> 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
>
>



 
Reply With Quote
 
 
 
 
STom
Guest
Posts: n/a
 
      09-05-2003
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" <> wrote in message
news:%233pY$...
> 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" <> wrote in message
> news:...
> > 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
> >
> >

>
>



 
Reply With Quote
 
Hernan Ochoa
Guest
Posts: n/a
 
      09-05-2003
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" <> wrote in message
news:%...
> 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" <> wrote in message
> news:%233pY$...
> > 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" <> wrote in message
> > news:...
> > > 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
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
return HttpStatusCode.ServiceUnavailable in the context.context.Response.StatusCode (Http response code 503) Flip Rayner ASP .Net 1 01-23-2007 06:35 AM
Strange Context Error: Context 0x197ee0 is disconnected in VS 2005 =?Utf-8?B?U3VuU21pbGU=?= ASP .Net 0 01-10-2006 03:59 PM
[ANN] Roxy 0.1 - Remote Proxy Objects w/ type & method signature impersonation and w/ remote block yields. Jeff Wood Ruby 7 10-18-2005 06:51 AM
Remote Assistance fails to connect, remote remote host name could not be resolved Peter Sale Wireless Networking 1 12-11-2004 09:09 PM
Context.Items vs Context.Handler (passing values between pages) VS_NET_DEV ASP .Net 2 05-25-2004 01:16 PM



Advertisments
 



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