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

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

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -