kaltura / nginx-secure-token-module

GNU Affero General Public License v3.0
116 stars 42 forks source link

module not required if using Cloudfront cookies? #118

Open comiconomenclaturist opened 3 months ago

comiconomenclaturist commented 3 months ago

maybe I'm missing something, but if I issue cookies from my web app to allow access to all URLs under a prefix, then CloudFront can take care of the handling of permissions and I don't actually need this module?

I assume this module is only needed for signed URLs when the individual .ts chunks are generated?

erankor commented 1 month ago

If you use cookies, and everything is on a single domain, then yes - you don't need this module. However, if the domain serving the video, is not the same domain of top-level page, IIRC Safari by default blocks the cookie, and it won't work.