<!-- https://zerolog.ch/docs/smb · Docs / Compute -->
# Network drives

Available

Open workspace files from your computer with WebDAV or SMB.

---

From anywhere

## Use WebDAV

Open the Storage tab of a workspace. It shows the address and setup command for your computer. WebDAV works over HTTPS on the same address as the site, with no extra port and no VPN, so you can use it away from the ZeroLog management network.

- 1 · Address

  ### Copy it from the panel

  Use the address shown for your workspace.
- 2 · Sign in

  ### Use your file access details

  The panel shows your username. The password is the one you set there, and it serves both WebDAV and SMB.
- 3 · Connect

  ### Follow your system's command

  Windows (`net use` in PowerShell), macOS and GNOME (the address) and Linux (davfs2) are shown in the panel. On Android, pair the ZeroLog app with the QR code. On iPhone and iPad, use an app that supports WebDAV.

---

For local networks

## SMB is limited to the management network

Only admins can see and switch on an SMB share in the Storage tab. SMB only works inside the management network and may not be available for every workspace. For remote access, use WebDAV. On Windows, [ZeroLog Connect](https://zerolog.ch/docs/connect) can also mount your own container as a drive through an HTTPS tunnel.

A new file access password replaces the old one. The password is shown once when you set it.

---

Scope

## Workspace files

Network drives include workspace files. Virtual machine disks are not available as network drives.

## Two ways to mount a workspace as a drive

Mermaid source of the diagram on this page:

```mermaid
%% Network drives: two ways to mount a workspace. Facts from server/dav.js, server/smb.js, web/apps/web/components/containers/storage-panel.tsx.
flowchart TB
  start["1. Storage tab of your workspace"]
  pw["2. Set the file access password<br/>shown once, a new one<br/>replaces the old one"]
  dav["WebDAV over HTTPS<br/>same address as the site<br/>works from anywhere"]:::hot
  smb["SMB, after you switch<br/>a share on<br/>management network only"]
  desk["Windows: net use in PowerShell<br/>macOS, GNOME: the address<br/>Linux: davfs2"]
  phone["Android: ZeroLog app, paired by QR<br/>iPhone, iPad: a WebDAV app"]
  drive["3. Workspace files as a drive<br/>read and write<br/>machine disks are not included"]

  start --> pw
  pw --> dav
  pw --> smb
  dav --> desk --> drive
  dav --> phone --> drive
  smb --> drive

  classDef hot stroke:#8f7ac9
```
