On Tue, 12 Jan 1999, Jan Suchanek wrote:
> Hello!
>
> I am working on a project which uses RMI. I wrote a server which runs
> very well. I problem I got is that every client is allowed to connect to
> my server and call the remote methode. What I want is, that only hosts
> who are allowed to make a remote call can connect to my server. How can
> I get there. I have really no idea...
>
> Any help is welcome...
>
There may be some facility in java which provides for this. If there is not, you can
at least prevent machines not in your network from RMI'ing by using filtering on the
router. Another solution may be to give the remote methods access to a list of allowed
hosts and if the requesting machine's ip is not in the list, the method simply returns.
Mark