Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is communication in java rmi secure?

Tags:

java

rmi

Is communication between clients and servers in java rmi secure (i.e. encrypted by default)?

like image 807
oO. Avatar asked Feb 22 '10 22:02

oO.


People also ask

What is Java RMI vulnerability?

A security vulnerability in the Remote Method Invocation component of the Java Runtime Environment allows unauthenticated network attacks which can result in unauthorized operating system takeover including arbitrary code execution.

What is RMI communication?

RMI is a mechanism for communicating (only) between two machines running Java Virtual Machines. When Java code on machine A needs a service or a method, respectively, of (remote Java object) objB on machine B it starts a remote method invocation. It does this the same way as invoking a local (Java) object's method.

How does RMI communicate with the remote object?

RMI uses a standard mechanism (employed in RPC systems) for communicating with remote objects: stubs and skeletons. A stub for a remote object acts as a client's local representative or proxy for the remote object.


1 Answers

Not mentioned this far: You can set up a VPN between the machines for full layer 2 security.

like image 121
sibidiba Avatar answered Oct 11 '22 01:10

sibidiba