Is it really effective to encrypt HLS with AES-128 by converting the video to m3u8?

Source: Internet
Author: User
After reading the converted m3u8 file, each TS slice has a url pointing to the obtained plaintext, as shown in the following code: {code ...} the plaintext can be obtained through test.com. Is the encryption secure? I do not need to read the converted m3u8 file for every user requesting test.com. Each TS slice has a url pointing to the obtained plaintext, as shown in the following code:

#EXT-X-KEY:METHOD=AES-128,URI="http://test.com",IV=0x9e7aaacac3e30732d4104caba7e9cff0#EXTINF:41.400000,/ElPSJkBWCffXykHUXYjBDg_ulrg=/lj3yTkLXOzp4wb5rm397sDhH2BLR/000000.ts

Passhttp://test.comThe plaintext can be obtained. Is the encryption secure?

I do not needhttp://test.comFor example, if the request from qiniu is passed, but not qiniu, it will not pass.

So how do I know that the request is qiniu? What other methods can be used to improve security. .

Reply content:

After reading the converted m3u8 file, each TS slice has a url pointing to the obtained plaintext, as shown in the following code:

#EXT-X-KEY:METHOD=AES-128,URI="http://test.com",IV=0x9e7aaacac3e30732d4104caba7e9cff0#EXTINF:41.400000,/ElPSJkBWCffXykHUXYjBDg_ulrg=/lj3yTkLXOzp4wb5rm397sDhH2BLR/000000.ts

Passhttp://test.comThe plaintext can be obtained. Is the encryption secure?

I do not needhttp://test.comFor example, if the request from qiniu is passed, but not qiniu, it will not pass.

So how do I know that the request is qiniu? What other methods can be used to improve security. .

The http://test.com address is not from qiniu. Instead, your client initiates a request from the browser when accessing this video.
In this way, you need to verify the customer's identity. If it is an illegal user, access is prohibited.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.