Your account

Your password, two-factor sign-in, the devices you're signed in on, app passwords for scripts, your language and interface style, your sign-in history, and notifications.

Everything on this page is in the account menu: click your name at the bottom of the list on the left. Its last line says which version of ThirtyFile the server runs, such as ThirtyFile 0.5.0.

On this page
  1. Password
  2. Two-factor sign-in
  3. Passkeys
  4. Signed-in devices
  5. App passwords
  6. API tokens
  7. Language
  8. Interface style
  9. Sign-in history
  10. Notifications
  11. SSH keys for SFTP

Password

Change password asks for the current password and a new one. Your other devices are signed out afterwards. A new password needs at least 6 characters, or more if your administrator set a longer minimum.

When your administrator chose your password (a new account, or a reset), you choose your own the first time you sign in. Forgot it? Forgot password? on the sign-in page sends a link to your email address, if your administrator set up email and the site address, and your account has an address (Notification settings).

Two-factor sign-in

With two-factor sign-in, your password alone isn't enough: after it, sign-in asks for a six-digit code from an authenticator app on your phone, such as Microsoft Authenticator, Google Authenticator or 1Password. The code changes every 30 seconds and works only once.

  1. Open Two-factor sign-in and choose Set up. Enter your password.
  2. Scan the QR code with the app. If you can't scan it, type the key shown under it into the app.
  3. Enter the code the app shows to confirm, and two-factor sign-in is on.
  4. Save the ten recovery codes shown next, for example in a password manager or on paper. Each one signs you in once instead of a code, if you lose your phone. They are shown only this once.

From the same dialog you can create new recovery codes (the old ones stop working), move to another phone or app with Change app, or turn two-factor sign-in off. Each asks for your password and a code from your current app (or a recovery code).

Lost your phone and your recovery codes? Ask an administrator to reset your two-factor sign-in. You can then sign in with your password and set it up again.

Passkeys

A passkey lets you sign in with your fingerprint, face, screen lock or a security key instead of typing a password. Its private key never leaves your device, so there is nothing to type, guess or be tricked into giving away. Open Passkeys in the account menu, give the passkey a name (for example Work laptop), enter your current password (and with two-factor sign-in a code; accounts without a password must have signed in within the last 10 minutes) and choose Add a passkey. Your browser or device then asks you to confirm.

Passkeys work on a site address that is https and has a host name, not a number such as 192.0.2.10; localhost works for trying them out. An administrator sets the address under Control panel › General › Site URL, and passkeys made for one address don't work on another. They follow Password sign-in: where passwords are turned off, so are passkeys. When an administrator resets someone's two-factor sign-in, their passkeys are removed too. The sign-in history records passkeys added, removed and refused.

Signed-in devices

Devices lists every browser signed in to your account: the browser and system, the address it last used, when it signed in and when it was last used. The one you're using is marked This device.

A device that hasn't been used for 14 days is signed out, and every device is signed out 30 days after it signed in.

If you see a device you don't recognise, sign it out here. If you sign in with a password, change it too. If you sign in with single sign-on, you have no password here: signing the device out is what ends its access, and it is worth checking that account's own security page as well.

App passwords

Scripts, backup tools and file clients can't sign in through the sign-in page. Give each one its own app password under App passwords. This is also the way for accounts that sign in with single sign-on, which have no password of their own.

Send it in the Authorization header, or as the password of HTTP Basic sign-in together with your username:

curl -H "Authorization: Bearer tfa_…" https://drive.example.com/api/auth/me
curl -u "amy:tfa_…" -o report.pdf "https://drive.example.com/api/files/<file id>/content?download=1"

What the API answers

With an app password you can also open your files as a drive in File Explorer, Finder or your phone's Files app: see Mapping it as a drive.

App passwords work for files only: browsing, searching, downloading, uploading, and organising files and folders. They can't change your password, create app passwords, link sign-in methods, share links or use the Control panel, and they never get a cookie. One that may only read files is refused for anything that changes something.

Changing your password removes all your app passwords and API tokens, as does an administrator resetting your password or your two-factor sign-in: create new ones afterwards. Signing out devices doesn't affect them; remove the ones you no longer trust. An app password stops working when its account is disabled or deleted. Wrong app passwords count towards the same limit as wrong passwords: after 30 from one address, that address has to wait 15 minutes.

API tokens

Programs and AI agents that call the API can have an API token instead of an app password. It can do less, and it always ends. Create one under API tokens in the account menu. The command line signs in with one.

Send it in the Authorization header. It works with the API only: WebDAV and SFTP take app passwords.

curl -H "Authorization: Bearer tft_…" https://drive.example.com/api/auth/me

A request the token doesn't cover is answered with 403 and the code token_permission, or approval_required for what only a person may do. What waits for your approval is answered with 202 and the approval (approval: its id and the page to answer it on); GET /api/approvals/{id} gives where it stands and, once it ran, the result.

Only administrators can choose View administration or Administer: anyone else asking for admin.read or another permission of the Control panel is answered with 403 and the code token_admin_only. A token for administration whose account is no longer an administrator is answered with 401 and the code token_not_admin, for everything it asks.

What only a person does in the browser is answered with 403 and the code browser_only, whatever token or app password asks; a request that sends a field only the browser sends, such as an account's password, with 403 and the code browser_only_field, before anything waits for your approval. Both are listed in the API's description (GET /api/spec), with why.

Language

Language in the account menu changes the language ThirtyFile is shown in. Your choice is saved with your account, so your other computers and phones use it too once you sign in there. Until you choose one, you get the default language your administrator set, or your browser's language. The sign-in page and share links follow your browser, or the language picked in the list at their bottom.

Interface style

Interface style in the account menu decides how the file explorer is laid out and which keys do what. Automatic, the default, follows the computer you're on: the Mac style on a Mac, the Windows style on Windows, Linux and ChromeOS. Phones and tablets get the same layout in both styles. Your choice is saved with your account. The modifier key always follows your computer, whatever the style: ⌘ on a Mac, Ctrl elsewhere.

Both styles do the same things with your files, and ask the same questions before replacing or deleting anything.

Sign-in history

My sign-in history shows your sign-ins, failed attempts, sign-outs, password changes, and app passwords created, removed or used with a wrong secret, with the address and browser of each.

Notifications

The bell at the top right, next to the tabs, tells you about:

A number on the bell counts the ones you haven't read. Click one to open what it is about. Mark all as read and Clear all are at the bottom of the list. Notifications are kept for 90 days.

Notification settings, at the bottom of the bell's list or in the account menu, turns each kind on or off, in the app and by email separately. Emails go to the email address you enter there. If you sign in with single sign-on, the address that account gives is filled in the first time, and you can change it. Leave it blank to get no emails. Password reset links go to this address too, so changing it asks for your current password (and with two-factor sign-in a code; accounts without a password change it within 10 minutes of signing in), and the previous address gets an email about the change. At most five emails of one kind go to an address within 15 minutes; the notifications in the app are all kept.

Emails are only sent once an administrator has set up an email server (Notification emails). They are written in the language you chose; without a choice, in the default language your administrator set, or else in the language you last used ThirtyFile in. Times are in your time zone.

SSH keys for SFTP

When SFTP and SSH keys are enabled by an administrator, open Account menu › SFTP keys, give your public key a name and confirm your current password and two-factor code. The private key stays on your device. Remove a key you no longer use; its current sessions lose access too. See SFTP access.