Users and spaces
Accounts, groups and spaces are managed by administrators in the Control panel.
On this page
Users
Open Control panel › Users. To find someone, type part of their username, display name or email address in the search box at the top right.
- Create an account with a username and a first password. The person has to choose their own password the first time they sign in, before anything else; the same happens after you set a new password for them. Setting a new password also signs them out everywhere and removes their app passwords, API tokens, password reset links and linked sign-in methods.
- Role: administrators can open the Control panel. Users cannot.
- Permissions: Edit (which includes uploading), Delete and Share. Share covers share links, Share with… and managing the members of a space, including in their own personal space. Without them the account can only view. The Permissions column of the list uses the same names.
- Space size: how much the person may store.
0means no limit. - Create "My files": whether the person gets a personal space, and on which storage location. Both start from the settings under Control panel › General.
- Disable an account to stop it signing in without deleting its files. Its app passwords and API tokens stop working too.
- Reset two-factor sign-in is for someone who lost their phone and their recovery codes. It also signs them out everywhere and removes their app passwords and API tokens, as resetting their password does. A shield next to the name shows who has it on.
- Devices lists the browsers where the person is signed in. Sign out one of them, or all of them with Sign out everywhere. It is recorded in the activity log and in the person's sign-in history.
Setting a new password, changing someone's role, resetting their two-factor sign-in and creating an administrator hand over an account. The settings under Control panel › Email and Control panel › Single sign-on decide where password reset emails go and who can sign in. So all of these ask for your own password first, and a code if you use two-factor sign-in. If you sign in with single sign-on, do it within 10 minutes of signing in.
The Used column shows the person's personal space, including items in its trash, or No "My files" when they have none.
Personal spaces
A personal space, My files, is a space only its owner can open. Under Control panel › General › Users:
- Give new users a personal space is on unless you turn it off. When it's off, new people start in the first space they can use, usually All files, and "My files" doesn't appear anywhere for them. People who already have one keep it.
- Location of new users' "My files" is the storage location new personal spaces are created on. Default location follows whatever location is the default when each person is added.
The dialog for a new user starts from these settings, and rules by email domain can choose otherwise for accounts made by single sign-on. To change it later, right-click a user (or open Edit):
- Create "My files"… gives the person a personal space now, on the location you choose.
- Remove "My files"… removes it. As when deleting an account, you choose whether its files move into a folder in another space or are deleted; the person keeps their account and their access to other spaces.
When the location's folder isn't available, for example a disk or network share that isn't mounted, adding the user and their first single sign-on still work. The list then shows My files pending (location unavailable), and the space is created on that location when the person next signs in, or within a minute of the folder being back. The server log says why it waited.
Deleting an account
Select the user and click Delete. Their personal space My files, if they have one, is removed, so choose what happens to what is in it:
- Move their files to another person's personal space, a team space or the company space. This is the default. The files keep their folders and go into a new folder named after the person, for example Files of amy (numbered if that name is taken). The dialog shows the name; like every name ThirtyFile gives what it creates in people's folders, it is in the system's default language (English when that follows the browser), whoever removes the account. They count toward that space's size: when it doesn't have room, nothing is deleted and you're asked to choose another space or make it bigger. Nothing is copied, so this is quick even for large spaces, unless one of the two spaces is a folder on the server: the files are then moved on the disk (or copied, to or from another disk) before the account is deleted, and a message at the bottom shows how far that got. The person's trash is emptied, not moved. Folders they shared with colleagues stay shared.
- Delete their files permanently. This can't be undone.
Either way, files they added to other spaces, and team spaces they own, are transferred to you, and the share links they created are deleted.
Sign-in security
Under Control panel › General › Users:
- Require two-factor sign-in for password accounts: signing in with a password also asks for a code from an authenticator app. People who haven't set it up are asked to right after their password, before they get in, and can't turn it off. Turning it on signs out everyone who signed in with a password but hasn't set it up yet (except you), so they set it up at their next sign-in. Accounts that sign in with single sign-on rely on that provider, and app passwords keep working without a code.
- Minimum password length: 6 characters unless you choose more, up to 64. It applies to passwords set or changed from then on.
How people set up two-factor sign-in is described in Your account.
Groups
A group is a list of people, for example one department. Give a group access to a space or folder instead of adding people one by one. When someone joins or leaves the group, their access follows. To find a group, type part of its name or description in the search box at the top right of Control panel › Groups.
Spaces
Open Control panel › Spaces to create team spaces, set their size limit and choose where their files are stored. Move to another location… moves a space's files to another storage location in the background; Control panel › Moves shows how far each move is. To find a space, type part of its name in the search box at the top right; for a personal space, its owner's name works too.
- New team space asks for the storage location too: the default location is chosen unless you pick another. New folder space shows a folder of your choosing instead, which isn't on a storage location.
- Add members from the space's Members dialog and give each a role. The same dialog chooses who can make share links in the space.
- To let everyone create team spaces themselves, switch it on under Control panel › General. A space created this way gets the same size limit as its creator, goes on the default location, and each person can create up to 20.
Retention and legal holds
Some organisations have to keep records for a period, or keep everything of a case while it is open, whatever people do. Both are enforced by the server for every way of deleting: the web, WebDAV, S3, SFTP and FTP all move deleted items to the trash, and what is kept stays there.
- Retention period. Under Control panel › Retention and holds, give a space a number of days. Its files, and their earlier versions, can't be deleted for good until that many days after their last change. Deleting still works: the item goes to the trash, marked Held until its date, and the automatic emptying (or Delete permanently) removes it once the period has passed. Only administrators set a period.
- Legal hold. An administrator places a hold, with a reason, on a folder or file (in its details pane, under Retention), on a whole space, or on the files a person owns (under Control panel › Retention and holds). Under a hold nothing it covers can be deleted for good; earlier versions are never removed, even with versions turned off, because what a change replaces is kept; a space or an account holding held items can't be deleted; and an item can't be moved out of a held folder, or to another space. A hold on a folder covers what is put in it later. Only an administrator releases a hold. Placing and releasing are in the activity log with the reason.
What is kept shows Held until or On legal hold in the trash, and Delete permanently, Empty trash and the automatic emptying leave it there and say so. The managers of an item see what keeps it in its details pane. The Control panel lists the holds (search and release), the files each one covers, and exports them as a CSV file.
Notification emails
Everyone is told under the bell in the app when something is shared with them, when a space they own or manage is almost full, and when their access ends soon (see Notifications). To also send these by email, enter your organization's email server under Control panel › Email:
- Server and Port, and the Encryption: STARTTLS (usually port 587), TLS from the start (usually 465), or none for a relay on your own network (usually 25). Certificates are checked against the system's; Accept a self-signed certificate skips that for a server on your own network. Without encryption, or without the certificate check, ThirtyFile only sends to a server at a private network address (such as
10.x,192.168.xor the same machine), and the test says so otherwise. - Username and Password, if the server asks for them. The password is stored encrypted and never shown again; leave it blank to keep it. After changing the server, port, encryption, certificate check or username, enter it again: the saved one is only ever sent to the server it was entered for.
- Sender address: emails come from it, with the site name (Branding) as the sender's name. The server must allow sending from it.
- Switch on Send notifications by email and Save. Send test email tries the settings on the page, saved or not, and says what went wrong.
Emails go to the address each person entered in their notification settings. Accounts that sign in with single sign-on get the verified address of that account the first time they sign in after this is set up. Links in emails use the Site URL under Control panel › General; without it, emails have no link. Emails that can't be sent are written to the server log.
Administrator alerts
Small teams don't watch the dashboard. Control panel › Administrator alerts sends what needs an administrator's attention by email, to every administrator who has an address, and if you like to a webhook as well:
- a storage location over its usage threshold or failing (the thresholds are those of Storage usage), and one that can't be reached;
- the disk of the data folder nearly full;
- failed sign-ins: one address or one account passing a limit (10 in 10 minutes at first). Only accounts that exist are named;
- a backup or replica that fails or is overdue, which is also told in the app;
- an FTPS certificate that ends within 14 days.
Each can be turned off. A problem is told once when it starts and once when it is over, and one that keeps coming and going waits for a cooldown (30 minutes at first) before it is told again. Messages hold names of locations, addresses, accounts and numbers, never the name of a file or folder. Emails use the email server of Control panel › Email and are written in each administrator's language.
A webhook gets a JSON body (event, state as firing or resolved, kind, key, title, params, site, at), signed so the receiver can check it: the headers X-ThirtyFile-Timestamp and X-ThirtyFile-Signature: sha256=…, the HMAC-SHA256 of the timestamp, a full stop and the body, with the shared secret you set. Refuse messages with an old timestamp. Webhooks on the internet must use https; one on the private network or on this computer needs Allow a webhook on the private network. A message that can't be delivered is tried again after 1 minute, 5 minutes, 30 minutes, 2 hours and 6 hours, then given up on, and the page shows how each went. Send a test tries the email and the webhook at once.
File webhooks
Other systems can be told when files change, to process an upload, post to a chat or keep a record of their own, instead of asking again and again. Under Control panel › File webhooks, add a webhook: its address, a shared secret (Generate makes one; copy it before saving), the events to send, and either every space but personal ones or only some. A webhook can be paused or removed, Send a test to the webhook tries it at once, and the page shows how the latest messages went. Single-user mode has no webhooks.
- Left out: everything in personal spaces and in restricted folders, also a move or copy that only goes into or out of one. Changes made directly on the server's disk in folders on the server send nothing either.
- What messages hold: names and ids, never file contents, the addresses of share links or passwords. Whoever receives them learns file names from every space chosen, so send them only where that is fine.
- Delivery: a message is queued with the change itself, so a change that fails sends nothing and a restart loses nothing; a slow or unreachable receiver doesn't slow anything down. A message that can't be delivered is tried again after 1 minute, 5 minutes, 30 minutes, 2 hours and 6 hours, and given up on after that or after a day. While one waits, the ones after it wait too. A message may arrive more than once, and not always in order: use its
idto ignore repeats.
Each message is a JSON body sent with POST. Answer with any 2xx status to accept it.
{
"id": "5f0c8f6f0a2c4a0e9c1d2b3a4f5e6d7c",
"event": "rename",
"at": 1790000000,
"site": "ThirtyFile",
"user": { "id": 2, "name": "amy" },
"space": { "id": "9a1b…", "name": "Marketing" },
"item": { "id": "c3d4…", "name": "plan-final.docx", "kind": "file", "parent_id": "e5f6…" },
"previous_name": "plan.docx"
}
| Field | What it holds |
|---|---|
id | A unique id of the event |
event | What happened: upload, create_folder, edit, rename, move, copy, compress, extract, trash, restore, delete, share_create, share_update, share_delete, test |
at | When, in seconds since 1970 (UTC) |
site | The site's name |
user | Who did it (id, name); null for what ThirtyFile does by itself, such as emptying the trash after its retention time. An upload through a share link names the link's creator |
space | The space it happened in (id, name) |
item | The file or folder (id, name, kind, parent_id), as it is after the change. For a copy, the item that was copied. A change to a folder is one message for the folder, not one for each item in it |
previous_name | Only after a change of name: the name before |
to | Only for a move or copy: the folder it went to (folder_id, name, space) |
The headers X-ThirtyFile-Timestamp and X-ThirtyFile-Signature: sha256=… sign each message: the HMAC-SHA256 of the timestamp, a full stop and the body, with the shared secret. Check it on the bytes received, and refuse messages with an old timestamp. In Python:
import hashlib, hmac, time
def genuine(secret: str, headers, body: bytes) -> bool:
timestamp = headers["X-ThirtyFile-Timestamp"]
signed = timestamp.encode() + b"." + body
expected = "sha256=" + hmac.new(secret.encode(), signed, hashlib.sha256).hexdigest()
fresh = abs(time.time() - int(timestamp)) < 300
return fresh and hmac.compare_digest(expected, headers["X-ThirtyFile-Signature"])
Webhooks on the internet must use https; one on the private network or on this computer needs Allow a webhook on the private network or on this computer. Redirects aren't followed.
What administrators can see
Administrators manage every team space and the company space, including their trash. They cannot open personal spaces or see what is in them, only their size, but when they delete an account or remove its "My files" they can move its files to a space they can open. They can also move a "My files" to another storage location: the move lists files it couldn't copy without their names.
They do see every public share link under Control panel › All share links, so they can revoke links that shouldn't be public. A link in someone else's personal space shows who made it, its options and how often it was used, but not its address or what it shares, and administrators can only delete it, not change it. The share link access log leaves out the same for visits to those links.
The activity log says who did what in other people's personal spaces and when, but not to which file or folder, also in its search, its CSV export and its archive files. Checks for changes of a personal space kept in a folder say how many items they skipped, not which, and not where the folder is. Error reports leave out quoted names in every language.
Forgotten passwords
Once an email server is set up (Notification emails) and the Site URL is set under Control panel › General, the sign-in page offers Forgot password?: people enter their username or email address and get a link to choose a new password. The link is built from the Site URL, never from the address a request came with. It works once, for an hour, and only for accounts with a password and an email address; the page answers the same whether or not the account exists. Choosing a new password signs the account out everywhere and removes its app passwords. Changing or resetting a password in any way also ends reset links asked for before, and sign-ins still waiting for their two-factor code.
Otherwise, or for accounts without an email address, an administrator sets a new password under Control panel › Users. If the administrator's own password is lost, see Troubleshooting.
Control panel › S3 buckets lists published folders and their creators, Access Keys, end dates and last use. Filter the list, stop or delete a bucket, and revoke individual keys. Files remain in their folders. See S3 setup.
Control panel › FTP receive folders manages device credentials, their published folder, listing/download permissions and end dates. Password rotation ends existing sessions. Guest accounts cannot create publications; device credentials cannot sign in to the website. See FTP receive folders.
Guest accounts
In Control panel › Users, choose Guest as the account type for an external collaborator. A guest can use only folders and spaces explicitly shared with them, directly or through a group. Membership in Everyone does not give a guest access. Guests have no My files, cannot create spaces, share links or give other people access, and cannot be administrators, managers or owners. WebDAV and SFTP app passwords still work within the same shared folders.
To change an existing account to Guest, review the conversion preview and confirm your own identity. Personal files are kept but become inaccessible to that guest. Existing share links and protocol publications stop working. The preview lists direct grants whose roles or end dates will change. Transfer ownership of team spaces first. A group with Manager or Owner access, no end date, or an end date beyond the guest limit must be corrected before conversion or before a guest joins it; other group members are never silently changed. Changing back to a standard account restores access to its preserved personal files, but does not undo the direct grant changes.
Access review
Control panel › Access review shows who can reach what, on one page, for a review now and then (as ISO 27001-style audits ask):
- Spaces and folders: each team space and the company space with its members and their roles, the folders in it shared on their own, and restricted folders with who has access there. Personal spaces are counted only: how many items each person shares, never their names.
- Access with an end date, soonest first.
- People: for each account (or only guests), every space and folder a grant gives them, directly, through a group or as everyone, with their role and end date, and their app passwords, API tokens and SSH keys with when they were last used.
- Outside access: share links (who made them, until when, whether they have a password, when they were last opened), S3 keys and FTP receive folders.
What has ended isn't listed. Administrators' own access isn't either: they manage team and company spaces without a grant. Each part exports as CSV, and Print prints the whole page. Choose Ask for a review to have administrators told when one is due (every 30, 90, 180 or 365 days), and Mark as reviewed when you are done: it is recorded in the activity log, and the next review is counted from then.