How to restrict download permission for content served from presigned-url

0

For our implementation we want to only stream the content to user and restrict user from downloading it, how can we restrict the download permissions from the presigned URL provided ?

asked 2 years ago1555 views
2 Answers
1

Hi,

S3 is an object based storage service and although you can manage who has access to your S3 bucket and the objects stored in it, there’s currently no direct way of preventing users who have been granted read access to the files stored in your S3 bucket from downloading them.

=> Potential options would be to make use of :

a. HLS Content Protection - https://docs.aws.amazon.com/elastictranscoder/latest/developerguide/content-protection.html

b. DRM (which restricts access to your playlist so that only authenticated users can view your content) Digital Rights Management - https://docs.aws.amazon.com/elastictranscoder/latest/developerguide/drm.html

=> You can also refer to these documents on securing videos using Cloudfront and other media services :

Please note that the implementation of above solutions might have cost implications. So, please refer to the applicable pricing documents before using any service.

I would also advise first deploying these changes (with regards to whichever option you want to test/implement) in a test environment and not your live site or normal environment.

AWS
SUPPORT ENGINEER
answered 2 years ago
0

Hello,

Could you provide more details? Technically there is no big difference between streaming and downloading of data as anyway data reached final device.

One of the solution could be usage of encryption: your stream client will be able to decrypt data by receiving a temporary key while direct downloading will just give you an encrypted data.

AWS
answered 2 years ago
  • Hello, For our business we want to restrict download and screen recording access for users. Can you explain on how we can implement encryption, and will that help in restricting the users from having the video offline ?

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions