Security and Configuration
To use the Red5 Pro Server API, you must set a security access Token in the file
security.accessToken= is blank by default, which disables API access.
With the CORE SECURITY PROVIDER SETTINGS set to true, a token is required for use with any of the API REST calls.
Additional security is set in
$RED5PRO_HOME/webapps/api/WEB-INF/security/hosts.txt. This is set to localhost with the Red5 Pro Server distribution. You can add specific IP addresses, one per line, to allow access.
localhost 126.96.36.199 ~
Alternatively, you can allow access from all IPs with a * entry:
localhost * ~
Note: You will need to restart Red5 Pro if you modify either or both of the above files.