WebShare
4 minute read.
WebShare provides web-based file access to authorized users through a browser interface. Unlike SMB or NFS shares that require mounting on client systems, WebShare allows users to browse, upload, download, and search files directly from a web browser.
WebShare requires TrueNAS Connect to be configured and active.
The WebShare widget displays Open WebShare and Add buttons, and a icon for accessing service options. Each configured WebShare displays as a row showing the share name, path, and action icons to open the share in a new browser tab, edit the share, or delete the share.
Before configuring WebShare, ensure the following:
- TrueNAS Connect is configured and active on your system
- A dataset exists for the files you want to share
- At least one local user account exists with WebShare access enabled
Configure the WebShare service before creating shares.
Go to Shares and locate the WebShare widget.
Click the icon and select Config Service.
(Optional) Select Enable TrueSearch to enable file indexing and search functionality. When enabled, TrueSearch indexes all active WebShares for fast file searching.
Configure the Passkey setting based on your security requirements:
- Disabled turns off passkey authentication.
- Enabled allows passkeys as an optional authentication method.
- Required requires users to authenticate using passkeys.
Click Save.
Toggle on the WebShare service to start it.
After configuring the service, create a WebShare to provide access to a specific directory.
Go to Shares and locate the WebShare widget.
Click Add.
Select the Path to the directory you want to share. The path must be under /mnt/poolname/. All subdirectories within the selected path are accessible to authorized users based on their file system permissions.
Enter a Name for the WebShare. The name must contain only letters, numbers, hyphens, and underscores.
(Optional) Select Home Share to use this share as the base path for user home directories. Only one WebShare can have this option enabled.
Click Save.
To modify an existing WebShare, click the icon on the share row. The Edit WebShare screen allows you to change the path, name, and home share setting.
To delete a WebShare, click the icon on the share row. A confirmation dialog displays before the WebShare is removed.
Users must have WebShare access enabled to connect.
Go to Credentials > Users.
Click the user you want to grant access to, then click Edit.
Locate the Allow Access section and enable WebShare Access.
Click Save.
After configuring the service, creating a share, and enabling user access:
Click Open WebShare on the WebShare widget in the Shares dashboard. Alternatively, access WebShare directly using your TrueNAS Connect URL on port 755.
Log in with the credentials for a TrueNAS user account that has WebShare Access enabled.
Navigate to the share to browse files.
The WebShare interface provides a file browser with toolbar buttons for common actions.
The file list displays columns for file name, owner, size, and modified date. Click a folder to open it. Click the icon in the column header to navigate to the parent directory. Click the Name column header to sort files alphabetically.
Click the icon to open the upload panel. Drag and drop files into the upload area or click Browse Files to select files from your computer. Toggle between Files and URL to upload files from a web URL instead.
Click the icon to create a new folder in the current directory.
The toolbar provides additional options:
- Filter - Filter the file list
- Refresh - Refresh the current directory
- Timeline - View snapshots of the current directory
- Share - Create a shareable link
- Hidden files - Toggle visibility of hidden files
- File details - Open the file details panel
Click the icon on a file row to access file-specific actions such as download, rename, copy, move, and delete.
When TrueSearch is enabled in the WebShare service configuration, users can search for files within WebShare.
TrueSearch requires an Enterprise license or TrueNAS Connect configuration. Encrypted datasets are excluded from indexing.
After logging into WebShare:
Locate the search box in the top right corner of the WebShare interface.
Enter search terms. TrueSearch supports searching by:
- File name
- File content
- File type
Review search results as they appear.
TrueSearch indexes all enabled WebShares globally. You cannot enable or disable indexing for individual shares.






