You can limit access to your content to IP ranges.
In CDN Resource settings choose Show Advanced Settings, in the Access (Security) click Add Policy and find IP Access Policy.
By default, there are no restrictions by IP to your CDN Resource. You can set up Allow or Block policy.
The option supports IPv4 and IPv6 addresses.
You can specify IPs only one by one via Control Panel. To add the list of the IPs use API.
Allow Policy
Access to the resource is allowed for all the IPs except for the specified in the field.
Block Policy
Access to the resource is denied for all the IPs except for the specified in the field.