This library helpes you decide the allowed files in your system by letting the file go through specific checks (filttering layers) before doing anything to the file. It supports four layers of checking including MimeTypes, and Content-Types.
Install-Package FileBarrier.Core -Version 1.0.5
dotnet add package FileBarrier.Core --version 1.0.5
<PackageReference Include="FileBarrier.Core" Version="1.0.5" />
paket add FileBarrier.Core --version 1.0.5
A cross-platform base framework, useful for all projects that dealing with uploading files to their .Net Core application.
- Fix MimeTypes duplicate records.
- Added Barrier Response to give you more information about at which layer the error occurred (use in IsAllowed function).
- Microsoft.AspNetCore.Http (>= 2.1.1)
This package is not used by any popular GitHub repositories.