Server Static HTML File through Azure Storage / s3 Bucket without public access

I have some static content HTML in Azure Storage and aws s3 Bucket. How can I serve this only to authenticated users?
I am planning to use this static content to use on my edx courses.

How can I securely deliver my static content within OpenEdx without making it public access?
Is there any way to allow requests only from my edx server?
Also is there any other storage providers that validate the Referer or IP in the Request Header?