# The virtual file system

A user of CrushMFT never sees the server's disk. They see a file system that was put together for them: a few folders, each with a name, each pointing at a real place. This is the virtual file system, the VFS. It decides what a user sees, where it really is, and what they may do there.

## Items

A VFS is a list of items. An item has

| Part | What it is |
|---|---|
| a name | the folder name the user sees, such as `Reports` |
| a place in the tree | at the top, or inside a virtual folder |
| a location | where the files really are: a folder of the server, or an address on another system |
| permissions | what the user may do there: see [Permissions](VFS-Permissions.md) |

The user sees `/Reports/2026/q3.pdf`. The server knows that `/Reports/` is `D:/data/finance/reports/` or `sftp://files.partner.example.com/out/`, and fetches the file from there. The user cannot find out which, and cannot get above the folder they were given.

Items are made in [the VFS editor](Users-Setup-VFS-Editor.md) of the User Manager, by dragging a folder to the user or with **New Remote Item**.

## Where an item can point

| Kind | Types | Page |
|---|---|---|
| the server's own disks | File | [Local folders](VFS-Local.md), [Windows shares by UNC path](VFS-UNC.md) |
| file servers of a network | SMB, NFS | [SMB shares](VFS-SMB.md), [NFS exports](VFS-NFS.md) |
| other file transfer servers | FTP, FTPS, FTPES, SFTP, HTTP, HTTPS, WebDAV | [FTP](VFS-FTP.md), [SFTP](VFS-SFTP.md), [HTTP and HTTPS](VFS-HTTP.md), [WebDAV](VFS-WebDAV.md) |
| object storage | S3, S3Crush, Azure, Google Storage, Backblaze B2, Glacier, Hadoop | [Amazon S3](VFS-S3.md), [S3-compatible storage](VFS-S3-Compatible.md), [S3 in the CrushMFT layout](VFS-S3Crush.md), [Azure](VFS-Azure.md), [Google Cloud Storage](VFS-Google-Cloud-Storage.md), [Backblaze B2](VFS-Backblaze-B2.md), [Glacier](VFS-Glacier.md), [Hadoop](VFS-Hadoop.md) |
| cloud drives | Google Drive, Dropbox, OneDrive, SharePoint, Box, Citrix ShareFile | [Google Drive](VFS-Google-Drive.md), [Dropbox](VFS-Dropbox.md), [OneDrive](VFS-OneDrive.md), [SharePoint](VFS-SharePoint.md), [Box](VFS-Box.md), [Citrix ShareFile](VFS-Citrix.md) |
| special | Memory, RFile, OAuth, KeyVault | [Special types](VFS-Special-Types.md) |
| a saved connection | Connection Profile | [Connection profiles](Connection-Profiles.md) |

Whatever an item points at, the user works with it in the same way, over every protocol the server offers. A partner's SFTP server so becomes a folder in a web browser; a cloud bucket becomes a folder of an FTP login.

## One protocol in, another out

Because every location looks the same from the inside, the server is a translator: a user who can only speak FTP reaches storage that speaks only S3. The transfer goes through the server, piece by piece, without the file being kept on the server's disk.

## What all remote items share

The settings every remote type has, such as **Encrypt URL**, the time-outs and **Route connection through DMZ**, are on [Advanced options of a VFS item](VFS-Advanced.md).

| Subject | Page |
|---|---|
| several VFS for one user, and one folder in two places | [Merged VFS](VFS-Merged.md) |
| hiding the address and its password in the stored user | [Encrypted VFS](VFS-Encrypted.md) |
| storage classes of your own, and locations users add themselves | [Custom VFS](VFS-Custom.md) |
| a storage login that stopped working | [When a storage login stops working](VFS-Bad-Credentials.md) |
| telling users what kind of storage they are on | [Showing storage details in the WebInterface](VFS-Reveal.md) |
| limits on space | [Quotas](Quota.md) |
| older versions of files | [File revisions](Revisions.md) |
| finding files | [Search and the file index](Search-Index.md) |

## Where a VFS is stored

With the user, in the server's `users` folder: a file `VFS.XML` with the permissions per path, and a folder `VFS` whose files and folders mirror the tree of items. Each item file holds the address, encrypted by default.

A user's VFS is put together at login from the user's own items and the items of the users they inherit from: see [Inheritance](Users-Inheritance.md). A whole VFS can also be borrowed from another user: see [Linking a VFS](Users-Setup-VFS-Linking.md).

## Good practice

- Give a user the narrowest folder that does the job, and the fewest permissions.
- Give a group of users their folders through a template, not one by one.
- Keep logins to other systems in [connection profiles](Connection-Profiles.md), so that a changed password is changed in one place.
- Press **Test** on every remote item when you make it: see [Testing a VFS item](Users-Setup-VFS-Test.md).
