Oct. 5, 2023, 5:15 p.m. | Eduardo Marques

DEV Community dev.to

In this post I will show you how you can stream videos from a S3 bucket with Partial Content support (HTTP 206).


To give a bit of context, I have a service where users can upload their files, which are stored in a AWS S3 bucket. For security, the files in the bucket can not be accessed directly, only through my API.


When a user requests a file I stream the entire file directly from S3.


This approach is …

aws aws s3 context files http node node.js partial s3 s3 bucket security service stream support upload videos

CyberSOC Technical Lead

@ Integrity360 | Sandyford, Dublin, Ireland

Cyber Security Strategy Consultant

@ Capco | New York City

Cyber Security Senior Consultant

@ Capco | Chicago, IL

Sr. Product Manager

@ MixMode | Remote, US

Corporate Intern - Information Security (Year Round)

@ Associated Bank | US WI Remote

Senior Offensive Security Engineer

@ CoStar Group | US-DC Washington, DC