> For the complete documentation index, see [llms.txt](https://ayakaleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ayakaleaf-pro.ayaka.space/on-premises/de/konfiguration/overleaf-toolkit/external-url.md).

# Externe URL

### "Aus externer URL"-Funktion

Um die ["Aus externer URL"](https://www.overleaf.com/learn/how-to/How_to_upload_a_file_using_an_external_URL) Funktion muss die Variable `ENABLED_LINKED_FILE_TYPES` muss enthalten `url` Typ:

```
ENABLED_LINKED_FILE_TYPES=project_file,project_output_file,url
```

Dadurch werden sowohl das *Dateien hinzufügen* Menü als auch das *Abbildung einfügen* Dropdown-Menü in der Symbolleiste: Das *Dateien hinzufügen* Menü ermöglicht es Ihnen, eine Datei per URL zu Ihrem Projekt hinzuzufügen, während das *Abbildung einfügen* Dropdown-Menü es Ihnen ermöglicht, ein Bild direkt aus seiner URL in Ihr Dokument einzufügen.

#### Sicherheitshinweis

Wenn Benutzer in ihren Projekten einen Link zu einer externen Datei hinzufügen, wird die Datei im Auftrag des Servers abgerufen, auf dem Overleaf installiert ist.

Wenn der Overleaf-Server in einem privaten Netzwerk betrieben wird, das auch interne HTTP-Server enthält (die nur für den internen Gebrauch bestimmt sind), könnte ein Benutzer mit Zugriff auf Overleaf potenziell auf Daten dieser internen Dienste zugreifen.

Um dies zu verhindern, dürfen Links zu externen Dateien nicht auf Server verweisen, deren IP-Adressen zu einem der eingeschränkten Netzwerkbereiche gehören. Diese sind:

* `127.0.0.0/8` (Loopback)
* `169.254.0.0/16` (Link-Local)
* `10.0.0.0/8` (privates Netzwerk)
* `172.16.0.0/12` (privates Netzwerk)
* `192.168.0.0/16` (privates Netzwerk)

Darüber hinaus wird die folgende Umgebungsvariable eingeführt:

* `OVERLEAF_LINKED_URL_BLOCKED_NETWORKS`
  * Eine durch Leerzeichen getrennte Liste von Netzwerken in CIDR-Notation, von denen externe Ressourcen nicht abgerufen werden dürfen. Typischerweise sollte dies das interne Netzwerk der Organisation enthalten.
    * Beispiel: `OVERLEAF_LINKED_URL_BLOCKED_NETWORKS=123.123.0.0/16 124.124.124.0/24`

In vielen Organisationen können Server innerhalb des internen Netzwerks jedoch auch Daten hosten, die öffentlich zugänglich sein sollten. Um den Zugriff auf bestimmte Ressourcen zu ermöglichen, auch wenn das gesamte Netzwerk blockiert ist, wird die folgende Umgebungsvariable bereitgestellt:

* `OVERLEAF_LINKED_URL_ALLOWED_RESOURCES`
  * Ein regulärer Ausdruck, der zulässige Webressourcen definiert, von denen externe Dateien abgerufen werden dürfen. Wenn eine URL diesem regulären Ausdruck entspricht, wird der Zugriff darauf gewährt, auch wenn ihr Netzwerk ansonsten blockiert ist.
    * Beispiel: Um URLs wie `https://www.example.com/~john/pictures/frog.jpg` und `http://www.example.com/public/whatever/lit.bib`:

      `OVERLEAF_LINKED_URL_ALLOWED_RESOURCES=^https?://www\\.example\\.com/(?:~[^/]+|public)(?:/.*)?`
    * Beispiel: Um URLs wie `http://www.example.com/private/whatever/file`, während alle anderen Ressourcen erlaubt werden, die nicht im `privaten` Unterbaum:

      `OVERLEAF_LINKED_URL_ALLOWED_RESOURCES=^https?://www\\.example\\.com/(?!private)(?:.*)`<br>


---

# 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://ayakaleaf-pro.ayaka.space/on-premises/de/konfiguration/overleaf-toolkit/external-url.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.
