protected-file-delivery
CommunitySecure private file delivery with short URLs.
Software Engineering#nextjs#security-audit#presigned-url#cloudflare-r2#secure-download#private-files
Authorraingernx
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Prevent unauthorized access to private files by eliminating direct exposure of storage keys.
Core Features & Use Cases
- Gate private file downloads via a server-side API, ensuring only authenticated users with valid purchases or subscriptions can access resources.
- Generate short-lived pre-signed URLs to private Cloudflare R2 objects, preventing long-lived links.
- Never expose R2 file keys to clients; all lookups occur server-side via resourceId, with strict access checks.
Quick Start
Audit your download flow by verifying session checks, DB lookups for file keys, and a presigned URL expiry of 60 seconds.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: protected-file-delivery Download link: https://github.com/raingernx/KRUKRAFT/archive/main.zip#protected-file-delivery Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.