Filesystem Protocol
Filesystem Protocol
Introduction
Zilla implements the Filesystem protocol for providing access to local files and directories on the local filesystem. When combined with HTTP binding, it behaves as a webserver.
Supported Features
- Basic Filesystem operations, such as:
CREATE_DIRECTORY
CREATE_FILE
DELETE_DIRECTORY
DELETE_FILE
READ_DIRECTORY
READ_FILE
READ_FILE_CHANGES
READ_METADATA
WRITE_FILE
- Symbolic Links support.
- Robust routing capabilities.
Security
HTTPS
By utilizing HTTP and TLS
binding, a TLS encryption can be enforced on the Filesystem bindings. This prevents eavesdropping, tampering, and man-in-the-middle (MITM) attacks.
Authentication
Zilla natively supports JWT-based authentication, using a guard
implementation that allows seamless validation and access control for protected resources.
During authentication, the client sends the token in the Authorization header with each request. The server then validates the token’s integrity and claims before granting access.
Zilla: Filesystem Use Cases
Zilla leverages Filesystem Protocol to provide powerful routing and serving files through Zilla.
- Filesystem Proxy
Reference
Filesystem Binding The filesystem
support, with server
behavior.
http-filesystem Binding Binding with http-filesystem
support, with proxy
behavior.