If I follow the example outlined on this page "http://xsockets.net/docs/installing-xsocketsnet" and install the controller as a self hosted application on a different server from the web server hosting the website that would communicate with the XSocket controller, how can I make sure that only authenticated users from my website can access the XSocket controller.
I am new to XSockets architecture and this is puzzling me. It seems like I would need to pass some login credentials to the Controller when this line of code is called peerBroker = new XSockets.WebSocket("ws://127.0.0.1:4502/CustomBroker");
in JavaScript. I have not found any documentation outlining how to get this information securely to the Controller. As a background, the website side is running MVC5.
The main point of confusion is that the broker is on a different server as the mvc5 application that will access the broker. I am trying to make sure that the broker only allows users currently logged into the system access to the broker.