How to avoid unauthorised access to socketio channel when using webchat with Rasa X?

I’m using webchat with Rasa X. The script I paste on the webpage to use the webchat can be copied and can be used by anyone to access the socketio channel. How to avoid this and securely implement this method of using the socketio channel?

Can anyone help?

@steve Same question! Did you ever find a solution?