Trivial provides the following client access control options:
List Files - Allows clients to see the names of all the files within a directory. Without this option clients can still access files if they know their name, but will not be allowed to browse the names of files stored on the server.
Read Files - Allows clients to download the contents of files.
Create New Files - Allows clients to upload files to the server. Without also specifying the Modify Existing Files option, successive client request to upload the same file will result in separate, uniquely named files created on the server.
Modify Existing Files - Allows clients modify existing files on the server, including renaming them or replacing their contents. Enabling this will allow anyone to modify the files stored on the server.
These access controls behave identically across all protocols.
Trivial does not provide user-based access control. See Can I set users and passwords for access to shared files? for more.
A server storing firmware images for network devices would configure the server for read-only access.
Option | Enabled |
---|---|
List Files | Yes |
Read Files | Yes |
Create New Files | - |
Modify Existing Files | - |
A server set up to receive log files that may contain sensitive data would want to prevent others from downloading or even seeing the files. Additionally, all successive uploads of the same file, say "log.txt", should be preserved. If Modify Existing Files is not enabled, files will be stored as "log.txt", "log-1.txt", etc.
Option | Enabled |
---|---|
List Files | - |
Read Files | - |
Create New Files | Yes |
Modify Existing Files | - |