Change websocket security permissions