6 个仓库
Enforcement of file size limits and custom predicate filters to accept or reject uploads.
Distinct from File Upload Security: Distinct from general file upload security (like virus scanning) by focusing on resource limits and metadata-based acceptance criteria.
Explore 6 awesome GitHub repositories matching security & cryptography · Upload Request Validation. Refine with filters or upvote what's useful.
Multer is a multipart form parser and file upload manager designed as middleware for Node.js and Express.js applications. It extracts text fields and uploaded files from incoming requests to populate the request body and file objects for server-side use. The project utilizes pluggable storage engines to abstract file persistence, allowing developers to switch between saving files to a physical disk or holding them as buffers in system memory. It supports customizable file naming strategies and a custom storage engine interface for defining how files are saved and deleted. The middleware incl
Provides a request validator to enforce file size limits and filter accepted files using custom predicate functions.
react-dropzone is a React hook and HTML5 drag-and-drop wrapper used to create interactive areas that accept files via drag-and-drop or a native system file picker. It serves as a web file system interface, bridging browser interfaces with the operating system's file selection process. The project distinguishes itself by managing complex event propagation to isolate drop zones and providing global drag-state detection for document-wide visual feedback. It supports both traditional hidden input triggers and the modern browser File System Access API for secure context integration, and it can det
Runs user-defined predicate filters to accept or reject files based on custom criteria.
Uploadthing 是一个用于将文件上传集成到 Web 应用中的工具,提供了一个通过无服务器文件处理来接收和存储文件的系统。它管理从创建后端端点到通过内容分发网络(CDN)交付内容的端到端上传过程。 该项目利用预签名 URL 工作流,允许客户端直接将文件上传到云存储,从而减少服务器入口流量。它具有基于路由的验证系统,用于强制执行文件类型和大小限制,以及用于请求授权和安全上传后回调 Webhook 的中间件。 该平台涵盖了广泛的功能,包括用于重命名或删除文件的云存储管理,以及为大文件传输实现可恢复上传。它提供了一套 UI 组件(如上传按钮和拖放区),可以使用可组合的 Hook 进行样式化或替换为自定义界面。 该系统专为跨边缘运行时和无服务器环境部署而设计,配置通过环境变量处理。
Enforces file type and size constraints through a server-side router to validate upload requests.
This project is a file upload module designed for the AngularJS framework, providing a comprehensive system for managing file selection, validation, and asynchronous transmission. It enables developers to build interactive web interfaces that capture local files through standard inputs or drag-and-drop zones, facilitating the entire lifecycle of a file transfer from initial selection to server-side upload. The library distinguishes itself through its focus on cross-browser consistency and granular control over the upload process. It includes an automatic fallback mechanism that routes data th
Allows developers to define custom headers, methods, and authentication credentials for individual file uploads or batch transmissions.
This project is a collection of specialized HTTP servers designed for static file hosting, secure file uploads, and encrypted web traffic. It provides implementations for delivering local files and directories over HTTP and HTTPS, including support for index pages and single-page application routing. The software differentiates itself through dedicated server roles, including a secure file upload server with size limits and token validation, and an HTTPS web server that utilizes PKCS#12 certificates for TLS encryption. It also includes a specialized gateway for managing cross-origin resource
Implements a secure upload server with file size limits and request token validation.
GraphQL Upload is a utility for Node.js environments that enables GraphQL servers to process file uploads. It functions by integrating custom scalar types into the GraphQL schema and providing middleware to intercept and parse incoming multipart requests. The library distinguishes itself by handling file data as asynchronous readable streams, which allows servers to process large files without requiring intermediate local disk storage or loading entire files into memory. It also incorporates resource protection mechanisms, including configurable limits on file sizes and the total number of fi
Restricts the size of fields, individual files, and the total number of files per request to prevent resource exhaustion.