aspose file tools*
The moose likes Distributed Java and the fly likes RMI: How to make sure only client from local networks have access to the remote object/methods Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "RMI: How to make sure only client from local networks have access to the remote object/methods" Watch "RMI: How to make sure only client from local networks have access to the remote object/methods" New topic
Author

RMI: How to make sure only client from local networks have access to the remote object/methods

patson luk
Greenhorn

Joined: Oct 20, 2010
Posts: 1

The RMI server would be running in the same local networks as the clients (but could be different machines)

I just wish to make sure no outsider can call the remote methods on the server.

Is setting up a firewall to block access to port 1099 (port for registry) from the outside sufficient?

Or any other suggestions that involve very simple changes/configurations?

Please help! Many thanks in advance!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: RMI: How to make sure only client from local networks have access to the remote object/methods