Repository navigation
SimpleW v26.1.1 improves authorization, introduces server-wide authentication challenges, and adds per-response telemetry control.
This release also brings SimpleW.Service.FileBrowser, an embedded web interface for managing files, uploads, archives, and background operations.
Although this is a patch release, applications using module Authorize callbacks must update their code.
Highlights
- Explicit authorization decisions with
AuthorizeResult: allow access, request authentication, or deny permission. - Shared authentication challenges through
server.ConfigureChallenge(...). - Per-response HTTP telemetry control with
HttpResponse.DisableTelemetry().
Breaking Changes
There is a migration guide with before/after examples.
The Authorize callbacks in StaticFiles, ServerSentEvents, and WebSocket options now return AuthorizeResult instead of bool:
- Replace
truewithAuthorizeResult.Allowed. - Replace
falsewithAuthorizeResult.Forbiddento preserve the existing403response. - Return
AuthorizeResult.Challengewhen the client should authenticate.
A challenge invokes the handler registered through server.ConfigureChallenge(...). That handler must send the response. Without a configured handler, a challenge returns 403 Forbidden.
Addon Highlights
SimpleW.Service.FileBrowser
An embedded web file browser with:
- File and directory navigation, search, sorting, pagination, and shareable navigation URLs.
- Downloads, folder creation, renaming, and moving.
- Trash restoration, permanent deletion, and emptying.
- File and directory uploads with chunked transfers, resumable sessions, progress reporting, and automatic session cleanup.
- ZIP creation and ZIP/RAR extraction, including supported multipart RAR archives.
- SHA-256, SHA-1, and MD5 file checksums.
- Authorization per action and resource, including recursive checks before queued operations.
- Configurable owner scopes for uploads, operation tracking, and SSE events.
- Background operations with status and cancellation endpoints.
- Live progress and automatic listing refreshes.
- Optional filesystem monitoring to reflect changes made outside the browser.