473,386 Members | 1,830 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Remoting and custom authentication

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!
May 15 '07 #1
1 3806
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]
- mv*@spam.guard.caspershouse.com

"Smokey Grindel" <no****@nospam.comwrote in message
news:eH**************@TK2MSFTNGP03.phx.gbl...
>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!

May 16 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: anders | last post by:
Hi! I have a config file that looks like this: <?xml version="1.0" encoding="utf-8" ?> <configuration> <system.runtime.remoting> <application> <service> <wellknown mode="SingleCall"...
1
by: Nick | last post by:
I am working on a VB.NET application that uses remoting hosted inside on IIS. I chose the binary formatter for this application because the only clients that will be connecting to it are .NET...
15
by: Ron L | last post by:
We are working on a distributed VB.Net application which will access a SQL database located on a known server. Each client will run on the user's local machine. To implement this, we are trying...
1
by: miha.valencic | last post by:
Hi! What are the options for securing remote objects, which are accessible through IIS, when you have an application deployed on the same server, which uses custom Forms authentication? ...
0
by: Kristian Reukauff | last post by:
Hi I have a problem with the .Net-Securty-Functions. I've got a client and a server. When I try to register a channel at the server with this line: ChannelServices.RegisterChannel(chan, false);...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.