file-handling

Community

Securely manage file uploads and storage.

AuthorAGIBuild
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides robust patterns for securely handling file uploads, streaming large files efficiently, abstracting storage solutions, and implementing secure downloads in ASP.NET Core Razor Pages applications.

Core Features & Use Cases

  • Secure File Uploads: Validates file types, sizes, and content using magic numbers to prevent malicious uploads.
  • Large File Streaming: Uploads large files directly to storage without consuming excessive memory.
  • Storage Abstraction: Supports interchangeable storage backends like local file systems or Azure Blob Storage.
  • Secure Downloads: Ensures files are downloaded with proper authorization and content disposition.
  • Image Processing: Includes capabilities for resizing and optimizing image uploads.
  • Use Case: Securely upload user-submitted documents, stream large video files to cloud storage, and provide authenticated download links for generated reports.

Quick Start

Implement a secure file upload endpoint in your Razor Pages application by integrating the provided FileUploadValidator and IFileStorageService.

Dependency Matrix

Required Modules

Microsoft.AspNetCore.WebUtilitiesSixLabors.ImageSharpAzure.Storage.BlobsMimeTypes

Components

scriptsreferences

💻 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: file-handling
Download link: https://github.com/AGIBuild/Agibuild.Fulora/archive/main.zip#file-handling

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.