Replies: 1 comment 1 reply
-
I have no problem with removing the query string in logs, so if you want to submit a PR with that I'll review it. But if you are concerned about security, I strongly recommend you use a more modern method of authentication with Socket.IO. Sending tokens in URLs is insecure, since these URLs can also get logged and cached by web clients and web servers. Current versions of the Socket.IO protocol support sending an authentication payload in the connection request, so if you have access to your server I recommend you switch to that. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have a feature request that might only concern the EngineIO.
When logs are enabled through a logging object, as shown below:
It appears that URLs are logged in traces. For example:
The issue is that this URL, in my case, contains sensitive data (API Token), and I do not want it to be logged, obviously. I have no choice but to disable logs. As logs can be crucial for investigations, it would be nice to have an option to hide non-internal query parameters from logs.
Thanks
Adrien
Beta Was this translation helpful? Give feedback.
All reactions