HighTechTalks DotNet Forums  

Remoting and custom authentication

Dotnet Framework (Remoting) microsoft.public.dotnet.framework.remoting


Discuss Remoting and custom authentication in the Dotnet Framework (Remoting) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Smokey Grindel
 
Posts: n/a

Default Remoting and custom authentication - 05-15-2007 , 01:12 PM






I don't want to use IIS, (design specifiaction) data security isnt an issue,
I just want to make a custom authorization and authentication system for my
remoting server... how would i do this? set up a custom channel sink pair?
any examples of something like this? I just need basic username and password
and the ability to know who sent what call to the server (username only)
thanks!



Reply With Quote
  #2  
Old   
Nicholas Paldino [.NET/C# MVP]
 
Posts: n/a

Default Re: Remoting and custom authentication - 05-16-2007 , 04:47 PM






Smokey,

In this case, a channel sink is the only option you have. However, it
is a lot of work, quite frankly.

If you have an option, you can use WCF as well, and take a look at the
ClaimSet that the client requests. It's probably much easier to hook into
this.

If you do a google search on "remoting channel sink" you will probably
find a number of examples on how to create a remoting sink.

An easier way might be to place items into the current CallContext and
then retrieve them from the CallContext on the server side (this is
serialized and sent across the wire to the server).

If you are not using simple types, you will have to mark your type with
the ILogicalThreadAffinative interface so that it is serializes between the
app domains.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- mvp (AT) spam (DOT) guard.caspershouse.com

"Smokey Grindel" <nospam (AT) nospam (DOT) com> wrote

Quote:
I don't want to use IIS, (design specifiaction) data security isnt an
issue, I just want to make a custom authorization and authentication system
for my remoting server... how would i do this? set up a custom channel sink
pair? any examples of something like this? I just need basic username and
password and the ability to know who sent what call to the server (username
only) thanks!




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.