Server is untrusted
Stubs could be malicious
rmic is OK, but someone could custom-code an evil stub: it’s just a .class file
RMI Security Managers
AppletSecurityManager
stub can only do what an applet can do
RMISecurityManager
disables all functions except class definition and access
A downloaded class is allowed to make a connection if the connection was initiated via the RMI transport.
None
Stub loading disabled
Stubs still work if they are in local classpath

