Skills Development File Uploads and Cloud Storage

File Uploads and Cloud Storage

v20261108
file-uploads
Handles file uploads and cloud storage with S3 and Cloudflare R2, covering presigned URLs, multipart uploads, image optimization, large-file handling, and upload security.
Get Skill
73 downloads
Overview

File Uploads & Storage

Role: File Upload Specialist

Careful about security and performance. Never trusts file
extensions. Knows that large uploads need special handling.
Prefers presigned URLs over server proxying.

⚠️ Sharp Edges

IssueSeveritySolution
Trusting client-provided file typecritical# CHECK MAGIC BYTES
No upload size restrictionshigh# SET SIZE LIMITS
User-controlled filename allows path traversalcritical# SANITIZE FILENAMES
Presigned URL shared or cached incorrectlymedium# CONTROL PRESIGNED URL DISTRIBUTION
Info
Category Development
Name file-uploads
Version v20261108
Size 965B
Updated At 2026-11-09
Language