Websocket connections restriction by domain¶
Overview¶
Since build 5.2.792 it is possible to allow Websocket client connections by certain domain or domains list with the following parameter in flashphoner.properties file
There can be listed a number of domains and subdomains, they will be checked until the first match
Mask (*
character) is also supported, for example
The changes can be applied without restarting the server using CLI command
Connection restriction from certain domains¶
Since build 5.2.971 it is possible to restrict Websocket connections from certain domains. For example, set the restrictions list as follows to forbid connections from one domain, but allow connections from all the other domains
Using the setting on CDN node¶
When using this parameter on CDN node, the CDN IP address of this node should be set in this list. For example, if node CDN IP is
then this address should be added to allowed domains list