Amazon AWS S3 Cloudfront - Restrict Video Downloads

Job ID: 34319962

Budget: $10 – $30 USD

We have videos on AWS S3 with Cloudfront that are used for training courses.

1)
When served through the AWS platform the "Download" facilty is available.
I want to prevent/stop downloading our video material.

2)
Also we want to restrict access so that the videos only play through our website domain:

https://examplesite.com (not real domain)

and can not be accessed directly through AWS public links.

For example see this video:
https://seqm-training-lead-auditor-45001.s3.eu-west-2.amazonaws.com/INTROS-OUTROS/Intro-HB.m4v

Please advise how to do this and write any policies required for AWS S3 / Cloudfront.

See screenshots attached.

Budget is $30 fixed.

many thanks
Related categories: JavaScript Amazon Web Services