ApsaraVideo VOD provides the security IP address preview feature to ensure that only users whose IP addresses are added to review security groups can play videos in the Reviewing or Blocked state.
The security IP address preview feature uses an IP address whitelist to allow only specific users to obtain playback URLs of videos. If unauthorized users obtain the playback URL of a video in the Checking or Blocked state, the users can also play the video.
All users can play videos in the Checking or Blocked state by using the ApsaraVideo VOD console regardless of whether their IP addresses are added to review security groups.
How to use the security IP address preview feature
You can configure and query IP addresses that are added to review security groups only by calling API operations.
Add IP addresses to review security groups
Call the SetAuditSecurityIp operation to configure a IP address whitelist. Only users whose IP addresses are added to review security groups can obtain playback URLs. You can add IP addresses in the following formats to review security groups:
/24indicates that the prefix of the CIDR block is 24 bits in length. You can replace 24 with a value that ranges from 1 to 32.
Query IP addresses in review security groups
Call the ListAuditSecurityIp operation to query IP addresses in a review security group.