Security
Last updated
Last updated
If you are accessing our TronSocket service from the backend, yes, there is no problem. However, if you are accessing from your frontend application, I think it is useful to make some security restrictions. We have added 3 security options, if you do not enter any of these values, it means that it will accept all requests.
However, token security options are only available in our paid packages.
Let's look at the token security restrictions one by one.
IP throttling checks requests to your server and accepts all requests if the IP list is empty. However, if you enter any value, it will only accept requests from the IP addresses you enter.
Domain throttling checks requests to your server and accepts all requests if the domain list is empty. However, if you enter any value, it will only accept requests from the domain names you enter.
Unlike the first two constraints, the Event constraint does not work directly in the connection process, but in the “subscribe”, i.e. “on” method process. If you only want to listen to specific events for your tokens, you can add a restriction for that too.