Data security

Updated at:

ApsaraVideo VOD provides data security services such as data encryption, data isolation, and data leak prevention, effectively protecting your data from potential security risks in the cloud.

Data encryption

Data encryption at rest

Secure download

You can use ApsaraVideo Player on mobile devices to cache videos locally for viewing. However, video files downloaded to a local device are encrypted with a generated key file and can be decrypted and played only by ApsaraVideo Player. You cannot watch the videos with third-party players or without decryption. For instructions, see Secure download.

Encryption of data in transit

HLS standard encryption

HLS standard encryption uses AES-128 to encrypt content and works with all HLS players. It must be used together with Key Management Service (KMS) and the token service, and is widely used in fields with high content security requirements, such as online education and exclusive dramas. For instructions, see HLS encryption.

Server-side encryption

Alibaba Cloud proprietary cryptography

Alibaba Cloud proprietary cryptography (proprietary encryption) encrypts video data. Even if a video is downloaded to a local device, the video remains encrypted and cannot be maliciously redistributed, which effectively prevents video leakage and hotlinking. Compared with HLS standard encryption, proprietary encryption is more secure and easier to use. For instructions, see Alibaba Cloud proprietary cryptography.

Comprehensive encryption solution

Commercial DRM encryption

ApsaraVideo VOD provides an industry-standard DRM (Digital Rights Management) encryption method. DRM encryption is natively supported by Apple FairPlay and Google Widevine, and can be added and managed in one stop through ApsaraVideo VOD to protect the security of copyrighted video content. For instructions, see DRM encryption.

Data isolation

Region isolation

Within the same account, media asset data and related configuration data in different ApsaraVideo VOD service regions do not interoperate and are isolated from each other. Cross-region processing of media resources is not supported. For example, under the same Alibaba Cloud account, if your service region is China (Shanghai), you cannot process media files stored in the China (Beijing) region.

Region isolation helps enterprises ensure that data storage complies with local regulatory requirements and respects and adapts to local cultures and customs. It also enables users to access data centers or servers closer to their locations for faster response times and lower latency, improving the user experience.

After you activate ApsaraVideo VOD, the VOD system allocates a storage bucket to you in each region. After you enable the system bucket, you can upload and manage media resources in that service region. For instructions, see Manage storage buckets.

Application isolation

ApsaraVideo VOD supports a multi-application system. You can create multiple applications and isolate media asset data and related configuration data by application to address data isolation across multiple environments, businesses, and channels.

Multi-application isolation currently supports only media upload, audio and video playback, media asset management, and message callbacks.

The multi-application system is available only to users on the allowlist. To use it, Submit a ticket to apply for activation. For instructions, see Multi-application system.

Data leak prevention

Image or text watermarks

Add visible image or text watermarks to videos to highlight your brand, clarify copyright, and improve product recognition, which helps prevent sensitive data leakage. For instructions, see Video watermark.

Digital watermarking

Add invisible copyright or tracing watermarks to videos to protect copyright and trace leaks, which helps prevent sensitive data leakage. If a leak occurs, you can trace the source of the leak. For instructions, see Digital watermarks.

Security risks of source file URLs

ApsaraVideo VOD does not verify user login status. For videos without proprietary encryption, anyone who obtains the source file URL can play or download the video directly without identity verification.

Security differences between source file URLs and transcoded file URLs

URL type

How to obtain

Authentication

Direct access

Source file URL

GetMezzanineInfo

Signed OSS URL (time-limited)

Directly accessible

Transcoded file URL

GetPlayInfo

Configurable VidAuth or STS

Subject to configured authentication

The proprietary encryption (Encrypt) mechanism determines how transcoded file URLs can be accessed: when Encrypt is 0, the URL can be accessed directly; when Encrypt is 1, the video can be played only with a playback credential (vid+playauth) and ApsaraVideo Player. For details, see the Server-side encryption section in this topic, which describes Alibaba Cloud proprietary cryptography.

Recommendations

  • Enable proprietary encryption for sensitive content. Videos protected by proprietary encryption can be played only with a playback credential (vid+playauth) and ApsaraVideo Player.

  • Do not expose source file URLs externally. Use GetMezzanineInfo only for internal archiving and troubleshooting.

  • Use business-layer authentication, URL signing, and proprietary encryption for defense in depth.