'Is there a way to access files from a cloudfront without having a login and password?

I'm new to web and programming so I will try to describe my problem as good as possible.

I want to set up a cloudfront where I can stream m3u8 video playlists. This would be a premium service and I would like to know if someone could access my videos, or even my video directory without logging in?

I know it is possible to stream a https://xxxx.cloudfront.net/xxxx.m3u8 video without a login, but is it possible to access the directory https://xxxx.cloudfront.net?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source