> 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/it/configurazione/overleaf-toolkit/public-access.md).

# Accesso pubblico

Puoi offrire l'accesso alla tua istanza di Overleaf in due modi:

* Condividi un link del progetto con gli ospiti
* Consenti agli utenti di registrarsi autonomamente (disponibile solo in [ayaka-notes/overleaf-pro](https://github.com/ayaka-notes/overleaf-pro))

### Accesso ospiti

{% hint style="info" %}
Per impostazione predefinita, anche se un utente ottiene un link di condivisione del progetto, deve **accedere** prima di poter partecipare a una sessione collaborativa di modifica del progetto.
{% endhint %}

Per consentire l'accesso anonimo ai progetti condivisi tramite link, imposta entrambe le variabili qui sotto:

{% code title="config/variables.env" %}

```dotenv
OVERLEAF_ALLOW_ANONYMOUS_READ_AND_WRITE_SHARING=true
OVERLEAF_ALLOW_PUBLIC_ACCESS=true
```

{% endcode %}

`OVERLEAF_ALLOW_ANONYMOUS_READ_AND_WRITE_SHARING` abilita la lettura/scrittura anonima sui progetti condivisi tramite link.

`OVERLEAF_ALLOW_PUBLIC_ACCESS` impedisce che gli utenti non autenticati vengano reindirizzati alla pagina di accesso.

Ricrea i container con `bin/up`. Quindi apri un URL di condivisione del link in una finestra privata.

### Registrazione pubblica

La registrazione pubblica è disponibile solo in [ayaka-notes/overleaf-pro](https://github.com/ayaka-notes/overleaf-pro).

{% hint style="danger" %}
Nota che, una volta abilitata la registrazione pubblica, **chiunque** con accesso alla tua istanza di Overleaf può registrarsi come utente.

Il processo di registrazione non verifica gli indirizzi email, quindi usalo solo su un intranet o in un ambiente affidabile, oppure disabilitalo quando non hai più bisogno della registrazione.
{% endhint %}

Per impostazione predefinita, né la Community Edition né Overleaf Pro consentono la registrazione pubblica.

Per abilitarla, aggiungi questo a `config/variables.env`:

{% code title="config/variables.env" %}

```dotenv
OVERLEAF_ALLOW_PUBLIC_REGISTRATION=true
```

{% endcode %}

Ricrea i container con `bin/up`.

Quindi fai clic su **Registrati** oppure visita `/register`.

<figure><img src="/files/1f90dd62ddf7faaa2c6ebb94a5d98ef7b185776c" alt=""><figcaption></figcaption></figure>

### Registrazione con dominio limitato

La registrazione pubblica con dominio limitato è disponibile solo in [ayaka-notes/overleaf-pro](https://github.com/ayaka-notes/overleaf-pro).

Prima di abilitare questa opzione, configura l'invio delle email in modo che gli utenti possano ricevere inviti e notifiche. Vedi [Consegna delle email](/on-premises/it/configurazione/overleaf-toolkit/email-delivery.md).

Quindi aggiungi la seguente riga a `config/variables.env`:

{% code title="config/variables.env" overflow="wrap" %}

```dotenv
OVERLEAF_ALLOW_PUBLIC_REGISTRATION=@example.domain
```

{% endcode %}

`OVERLEAF_ALLOW_PUBLIC_REGISTRATION` può essere impostato su:

* `true` per consentire la registrazione a chiunque possa raggiungere il sito
* `@example.domain` per limitare la registrazione alle email di quel dominio


---

# 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/it/configurazione/overleaf-toolkit/public-access.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.
