File Uploads & Storage

•
19k
•

Optimizes cloud storage implementations with secure, high-performance file upload patterns for S3 and R2.

This skill equips Claude with specialized expertise in managing cloud storage and file upload workflows, focusing on security and performance. It provides implementation patterns for AWS S3 and Cloudflare R2, including presigned URLs to bypass server-side proxying and multipart uploads for handling massive files without blocking. By emphasizing security measures like magic byte verification, size limits, and filename sanitization, it ensures that your application's storage architecture is both scalable and resilient against common vulnerabilities.

Key Features

01Magic byte verification and file type validation
02Multipart upload orchestration for large-scale file handling
0319,302 GitHub stars
04Secure presigned URL implementation for S3 and Cloudflare R2
05Image optimization and storage performance best practices
06Filename sanitization to prevent path traversal attacks

Use Cases

01Implementing secure multipart uploads for large documents or datasets
02Configuring optimized asset storage with automatic security sanitization
03Building a direct-to-cloud user media upload system