> For the complete documentation index, see [llms.txt](https://doc.dastra.eu/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.dastra.eu/de/security/mfa.md).

# Zwei-Faktor-Authentifizierung

## Einführung

Dastra verwendet die [TOTP](https://de.wikipedia.org/wiki/Time-based_one-time_password)-Technologie zur Verwaltung der [Multi-Faktor-Authentifizierung](https://de.wikipedia.org/wiki/Multi-Faktor-Authentisierung) der Nutzer.\
Die Nutzer können sich somit sowohl mit ihrem üblichen Passwort als auch mit einem 6-stelligen Code anmelden, der von einer Secrets-Speicher-App wie Microsoft Authenticator oder Google Authenticator (oder anderen) bereitgestellt wird.

## Wie aktiviert man die starke Authentifizierung?

* Navigieren Sie zu <https://app.dastra.eu/general-settings/two-factor>
* Klicken Sie auf "**Zwei-Faktor-Authentifizierung aktivieren**"
* Laden Sie eine Zwei-Faktor-Authentifizierungs-App herunter
* **Scannen Sie den QR-Code** mit der von Ihnen gewählten App

![](/files/L5yLw1kQbfA0nzmzdmo4)

* Bewahren Sie den Wiederherstellungscode sicher auf.
* Melden Sie sich mit dem 6-stelligen Code an, der von Ihrer Authentifizierungs-App bereitgestellt wird

![Beispiel einer Authentifizierungs-App](/files/ry9H7LaFV59bztHupWou)

{% hint style="warning" %}
Bewahren Sie den Wiederherstellungscode sorgfältig auf! Dieser ermöglicht es Ihnen, Ihr Konto wiederherzustellen, falls Sie Ihre Authentifizierungs-App verlieren. Ihr Konto wird dauerhaft gesperrt, wenn Sie diesen Code nicht vorlegen können. In diesem Fall müssen Sie sich an den Eigentümer Ihrer Organisation wenden, damit er die Zwei-Faktor-Authentifizierung Ihres Kontos zurücksetzt.
{% endhint %}

## Wie erzwingt man die Zwei-Faktor-Authentifizierung für alle Nutzer?

* Navigieren Sie zu <https://app.dastra.eu/general-settings/security>
* Aktivieren Sie das Kontrollkästchen für die erzwungene Zwei-Faktor-Authentifizierung.

{% hint style="info" %}
Alle Nutzer, die sich anmelden, werden keinen Zugang zur Anwendung haben, ohne die Zwei-Faktor-Authentifizierung in ihrem Konto konfiguriert zu haben. Stellen Sie sicher, dass Ihr Team über die Best Practices zur Aufbewahrung der geheimen TOTP-Schlüssel informiert ist.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://doc.dastra.eu/de/security/mfa.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
