简体   繁体   中英

Is communication in java rmi secure?

java rmi中的客户端和服务器之间的通信是否安全(即默认加密)?

Encoded, yes. Encrypted, no.

JERI for JINI gives JRMP (the RMI protocol) over SSL, IIRC.

JSR #76 would have provided RMI Security, however it was controversially voted down .

I think you mean "encrypted" not "encoded". The answer is no. If you're using RMI in a non-trusted environment I would suggest something like RMI over SSH tunneling .

By secure I guess you mean encrypted. Not by default with RMI. You can use custom socket factories to encrypt RMI comms.

In short, no.

http://java.sun.com/j2se/1.4.2/docs/guide/rmi/faq.html#encryption

In essence, the network channel has to be encrypted if you need things to be secure.

到目前为止没有提到:您可以在机器之间设置VPN以实现完整的第2层安全性。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM