# Nextcloud-Webdav

> [!toc] Table of Contents
>
> <!-- toc -->

## Nextcloud Sync Client

The Nextcloud Sync Client is Nextcloud's own software for synchronizing content in the
cloud with your own devices (PC, mobile phone, tablet). Installation and setup is very
easy in most cases.

Content synchronization means that Nextcloud creates a folder on the device where all
files from the cloud are stored. If a file in this folder is changed, it is changed
directly in the cloud and thus also on all other devices linked to it. An example for
the practical use of synchronization is described in the module
[Using KeePassXC as a group](https://wiki.aktivismus.org/books/it-sicherheit-esc-it/page/keepass-as-group)

### Installation

- Download and install the sync client: <https://nextcloud.com/install/#desktop-files>

### Setup

1. `Login`
2. Enter the URL of your cloud instance _(where you have an account)_
3. A browser window with the cloud login should then open

![sync client login process](https://esc-it.org/assets/articles/en/instructions/nextcloud/sc-01-setup.png)

There are two options here:

- Log in with your normal login details
- For more security: `Alternative log in using app password`. Quickly follow our
  instructions on **[how to set up an app password](./nextcloud-app-passwords.md)** and
  come back here!

> [!warning] {static} If you have 2FA enabled in your general settings, you won't be
> able to log in with your main (normal) password here anyway, since the client app does
> not support 2FA. In this case **you have to
> [create an app password](./nextcloud-app-passwords.md)**. We recommend using this
> anyway.

![login with app password](https://esc-it.org/assets/articles/en/instructions/nextcloud/sc-4-systemli_weblogin.png)

Once we have logged in, a configuration window appears where we can specify which
folders from our cloud should be synchronized with our computer. We can either select
specific folders (`Choose what to sync`) or simply select all. Under
`Choose different folder`, we can also specify where the synchronized Nextcloud folder
should be located on our computer.

![sync options](https://esc-it.org/assets/articles/en/instructions/nextcloud/sc-5-set_sync_options.png)

Depending on how much data we have in the cloud, the synchronization process may take a
while. Once the synchronization is finished, we should have all our personal cloud files
directly accessible on the computer in the specified `Nextcloud` folder.

### Encrypt your files in Nextcloud

Per default, files in NextCloud are not end-to-end encrypted. While they could be stored
on an encrypted server, end-to-end encryption has to be setup additionally. If you want
to understand what end-to-end encryption means, have a look
[at the following article](https://wiki.aktivismus.org/countermeasures/communication-encryption.md#end-to-end-encryption).
Although it is on E2EE in email, the described example works here too, just without a
second server involved.

> [!tip] The easiest way to encrypt you files in Nextcloud (or any other cloud), is by
> using Cryptomator! Go ahead and checkout [our short guide](./cryptomator.md), or the
> [official user manual](https://docs.cryptomator.org/desktop/setup/)!