Previewing and sharing files in Amazon S3: the complete guide
How to open files in Amazon S3 without downloading them and share them safely with people outside the company, in reading order.
Previewing well means handling the formats a browser can't show on its own, without copying files out of your account. Sharing well means links that expire, can be revoked and record who opened them. Presigned URLs and correct Content-Types cover a single file; a team needs both jobs done in one place.
Getting staff into an S3 bucket is only half the job. The day-to-day friction comes after that: every PDF lands in a Downloads folder, iPhone photos won't open, a 2 GB zip has to be downloaded just to see what is inside, and sending a file to a client means a script or an email attachment nobody can take back.
This guide collects our articles on those two jobs, previewing and sharing, in the order teams usually hit them. If you haven't solved access yet, start with our guide to S3 access for non-technical teams.
Open files without downloading them
A browser can show many S3 objects inline if the object's Content-Type is right and the request asks for inline display. That works for a single PDF and stops working for Office documents, HEIC photos, large video and anything in a cold storage class. The first article compares the four ways to preview; the second lists what to check before you pick a viewer for a whole team.
How to preview files in Amazon S3 without downloading themChoosing a browser-based S3 file viewer for business documentsS3 CORS configuration explained: examples, preflight requests and fixing CORS errors
Look inside archives before anyone extracts them
S3 can't unzip anything, but a zip keeps its table of contents at the end of the file. A couple of range requests read that list, so you can check the file count, the unpacked size and the paths before anything is extracted or copied to a laptop.
How to see inside a zip file in Amazon S3 without downloading it
Getting files in
Previews and shares assume the files are in the bucket. If people still email files to an engineer to upload, this covers the four ways in, from the console to a workspace, and the size limits that decide between them.
How to upload files to Amazon S3: console, AWS CLI, SDK or a workspaceWatch the one-minute BucketDesk walkthrough ↗
Starter is free. Deploy a scoped role with CloudFormation, sign in, and browse, without handing anyone an access key.
Primary sources
Discussion
0 comments · open to guests · moderatedLiked this? Get the next article by email. No schedule, no filler, one click to leave.