Over the past months, I’ve been exploring ways to securely handle file uploads and downloads using Amazon S3. I’ve been experimenting with presigned URLs, testing expiration settings, validating file types, and seeing how clients can interact directly with S3 without exposing AWS credentials.

While working with AWS and FastAPI, I wanted a simple yet secure way for users to upload and download files directly from S3. That curiosity led me to build a project called s3-presigned-url-api
, a FastAPI application that generates temporary S3 presigned URLs for secure file management.

In this article, I’ll walk you through how presigned URLs work, how I implemented them in FastAPI, and what security practices you should follow when using them in production.

W...

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help