C# Remoting



I have implemented a C# class inherited from System.MarshalByRefObject and using RegisterWellKnownServiceType to allow a web app to communicate with a service on the same machine.

I would like to limit remoting of this class to the same machine (i.e. I do NOT want external machines connecting to my class). Is there a way to set security permissions for System.MarshalByRefObject to allow local connections only?
.



Loading