FlexREVIEW supports playback for encrypted segmented assets. At present, we support encryption for HLS assets using an AES-128 encryption.
Enabling Segmented Asset Encryption
You must set up your account's CDN resource so that it uses an S3 bucket in Dalet Flex Core:
- Click New.
- Click Resource.
- Create a new CDN Storage Resource.
- Click the Configuration sub-tab.
- Click Edit.
- Configure the following fields for the resource’s read location:
-Protocol: Select HTTPS
-Hostname: This is the AWS host for your S3 bucket. Example: "flex-media-library.s3.amazonaws.com".
-Path: The path inside your bucket. Example: "/flex-reviewer-app".
-Key: The S3 access key for your bucket.
-Secret: The S3 secret key for your bucket. - Configure the following fields for the resource’s write location:
-Protocol: Select S3.
-Path: The path inside your bucket. This should be the same as the read configuration above. Example: "/flex-reviewer-app".
-Key: The S3 access key for your bucket.
-Secret: The S3 secret key for your bucket.
-Bucket: The name of your bucket . Example: "flex-media-library". - Click Save, to save the configuration.
- Click Start, to start the resource.
- Navigate to the configuration section for your account, click the Metadata tab, and set the Publish CDN resource so that it uses the one you have just created.
- Enable Flex NGINX Proxy for S3 assets in the FlexREVIEW app, by setting the following consul keys:
-Set flex/flex-reviewer-app/enableS3Proxy to "Yes" (This key is exclusive for FlexREVIEW. MAM already requests S3 assets from the Flex NGINX Proxy).
-Set flex/flex-reviewer-app/proxyBaseUrl to the URL of your Flex NGINX Proxy instance(s). If you are already accessing the FlexREVIEW app from the Flex NGINX Proxy, then the domain name should be the same. - Configure an instance profile with access to your S3 bucket on your flex-nginx-proxy instance(s).
- Enable segmented asset encryption in the Flex NGINX Proxy by setting the following consul key:
-Set the flex/flex-nginx-proxy/encryptSegmentedAssets to "Yes".
Secure Images and Assets in FlexREVIEW
Images and assets can be now be served to FlexREVIEW through the Flex NGINX Proxy and it can be configured to require authentication on each request.
To enable it, set the flex/flex-nginx-proxy/enableSecurityCheck consul key to "Yes". Now all proxy request for images and assets require a valid JWT.
Comments
0 comments
Please sign in to leave a comment.