You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a websocket C++ server listening on a particular port, I only want to accept connections from client if the client is logged in from the same windows user session, If the requests come from a websocket client that is running under different windows user session, I want to discard it.
The client is in javascript so it cannot send the windows logged in username.
The text was updated successfully, but these errors were encountered:
You can generally tell if the connection is coming from the local/loopback interface, but beyond that you'd have to send this information from the client and have some way to verify it.
I have a websocket C++ server listening on a particular port, I only want to accept connections from client if the client is logged in from the same windows user session, If the requests come from a websocket client that is running under different windows user session, I want to discard it.
The client is in javascript so it cannot send the windows logged in username.
The text was updated successfully, but these errors were encountered: