How to secure a client/ server socket communication
问题 Assume that client and server apps are running on different machine Today: // Server will receive the request and cast it as needed ProxyResponse message = (ProxyResponse) objStream.readObject(); // Update message with some content ... // Sent it back to client ObjectOutputStream oos = new ObjectOutputStream(toClient); oos.writeObject(message); I'd like to further enhance this to make sure data sent out is somehow protected. How would you recommend i approach this? I am looking for an example