# Storage

On the hosted service, a workspace admin chooses where file attachments are stored: **Google Drive**, **OneDrive**, a **SharePoint** document library, **pCloud**, **Dropbox**, **Box**, a **WebDAV** server (Nextcloud, ownCloud, Synology), or an **S3**\-compatible bucket. Your file bytes live in your own cloud. termynl keeps only what it needs to find and link them.

-   Test the connection before switching. When you change backends, termynl migrates existing files and verifies each copy.
-   Attachments up to 100 MB, shown in the Files card beside each item.

## SharePoint, pCloud and Dropbox

-   Open **Settings → Storage** and press **Connect** next to the provider.
-   **pCloud and Dropbox** give termynl an app folder of its own (in Dropbox, `Apps/termynl storage`). pCloud accounts in the US and in Europe both work; termynl talks only to your account's region.
-   **SharePoint** works differently: a Microsoft tenant admin approves one site for termynl, and termynl can reach that site's document libraries and nothing else in your tenant. After you connect, enter the site's address, press **Find libraries**, pick a document library and press **Use this library**. termynl keeps its files in a `termynl` folder there. If **Find libraries** says an admin must approve the site, ask your Microsoft admin to grant termynl that site.
-   The same connections can hold the workspace's backups (**Settings → Storage → Backup**).
-   You can't disconnect a provider while it is where files are stored or while it still holds files. Move them first with **Move existing files**.

## Box and WebDAV

-   **Box**: press **Connect** next to Box. Box has no app folder, so termynl creates a `termynl` folder at the top of the Box account and keeps everything there. An enterprise Box account may need its Box admin to allow termynl first.
-   **WebDAV** (Nextcloud, ownCloud, Synology and other WebDAV servers): press **Connect**, enter the server's WebDAV address, a username and an **app password** (create one in your server's security settings; never use your account password), and press **Check and save**. termynl checks them before saving and keeps the app password encrypted; it is never shown again. termynl keeps its files in a `termynl` folder under that address.
-   On the hosted service the WebDAV address must be a public https address. Addresses on a private network, and redirects to another address, are refused.
-   On a self-hosted termynl, a WebDAV server on your private network works for storage and backups only after the server operator sets `TERMYNL_WEBDAV_ALLOW_PRIVATE=1`.
