how can i ensure that the connection between two clients is secure and no one else joins the communication?
I was not able to find a note on how this could be implemented, could you help me to figure out a good way?
For example i have the following scenario:
Client A (ID: 22) wants to start a chat with user Client B (ID: 11)
So Client A double clicks on his name in the public chat room and opens a dedicated private ChatWindow.
Every clients listen to a per user dedicated procedure and recieve a ticket with hash which they can subscribe to communicate to each other
A instance between the clients checks if the two users are authenticated and allowed to communicate