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

c++ - C/pp Sockets, recv()/send() works only under gdb -

GO: Serve static pages -

objective c - How to open front/back camera at the same time in iOS developing? -