php - Filtering WebSocket Connections (Reject Unknown Clients) -


I'm running a PHP websitet server (feedback on PHP + ratchet) and I have my own client application Will communicate with you.

The problem is that any WebSocket Client application can connect to this server.

I am looking for some ideas to apply a method to reject connections from all customers, but my client-application?

Was there an idea that I had to include an additional key field in the handshake header? I understand that a hacker can easily regenerate, but many people do not bother doing it.


Comments

Popular posts from this blog

html - Trouble with image gallery on codepen -

java - org.apache.http.ProtocolException: Target host is not specified -

LibGDX - Getting the position of a Image inside a table -