Web File Index
Synchronet comes with a SSJS module (exec/webfileindex.ssjs) that can be used to provide web browser access to your configured File Areas for viewing files listing, file contents and downloading (not uploading) files.
- This script is monolithic, i.e. it has no dependencies on any other files (CSS, images, etc.); it uses inline SVG and UNICODE characters for icons.
- This script relies on the built-in support1) for serving files from your filebase using HTTP[S] (e.g. digest) authentication (not cookies).
- All user exemptions and restrictions, configured file area access permissions, file costs/awards (in credits), and logging are applied to files transferred in this manner.
- By default, the web user is not authenticated and not “Guest”, they're just just nobody2), unless/until they attempt to access a library, directory or file that has access requirements and then an HTTP authentication of the user/browser is required.
Configure
This script is normally enabled and configured in SCFG->Servers->Web Server->Filebase Support... as follows:
╔════════════════════════════════════════╗ ║ Web Server Filebase Support ║ ╠════════════════════════════════════════╣ ║ │Enabled Yes ║ ║ │Index Script webfileindex.ssjs ║ ║ │VPath Prefix /files/ ║ ║ │VPath for VHosts N/A ║ ╚════════════════════════════════════════╝