Hi all,

I am writing a remoting app and I need to secure the remoted objects. I
can't use IIS to host, nor can I rely on windows integrated authentication.
I have a SQL database storing usernames and passwords and have implemented
a dialog for querying this information from the user as well as code for
checking this information with what is in the database. 

I've been searching for days for a good example of how to implement custom
role-based security but I can't find anything.

Am I right in assuming I should implement the IPrinciple and IIdentity
classes in some way? How do I then set this and ensure that it will be
carried along the remoting sink? How do I get the
authentication/authorization to occur transparently during transport? Do I
implement IMessageSink?

Any examples out there?

I have both the MSPress remoting book and IngoRamer's book but I can't find
anything to help me in either. If someone has seen something about this in
either of them could you direct me to a page number?

Any help is greatly appreciated.

--Hoop


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .

Reply via email to