> For the complete documentation index, see [llms.txt](https://docs.opencityitalia.it/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.opencityitalia.it/stanza-del-cittadino/guida-alla-creazione-dei-servizi-digitali/le-funzioni-generali-delladmin/gestire-la-policy-di-sicurezza.md).

# Gestire la policy di sicurezza

Nella pagina di modifica dell'Ente, il tab "Policy di sicurezza" permette di gestire i domini esterni autorizzati dalla piattaforma.

Per raggiungere la pagina, clicca su "Impostazioni" (1) e seleziona la voce "Ente" (2).

<figure><img src="/files/P3lrjKd7SSxUVfw8YCAl" alt=""><figcaption></figcaption></figure>

Apri il tab "Policy di sicurezza".

<figure><img src="/files/22pzhWtgEcMGA54tmTg9" alt=""><figcaption></figcaption></figure>

Sono disponibili due campi distinti in cui inserire il dominio:

* "Fonti esterne per i moduli" (1): i domini dei servizi esterni interrogati durante la compilazione dei form (es. API di autocompletamento delle categorie);
* "Immagini grafiche" (2): i domini da cui vengono caricate le immagini per la personalizzazione grafica del sito (es. logo dell'ente, immagini del footer).

<figure><img src="/files/dj3Y3HNBhmgOuDRLpkgJ" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Inserisci solo domini specifici e strettamente necessari. Evita domini troppo generici o interi provider CDN (es. \*.cloudflare.com, \*.amazonaws.com): un eccessivo allargamento delle autorizzazioni riduce la sicurezza della piattaforma.
{% endhint %}

Per salvare le modifiche, clicca su "Salva".


---

# 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://docs.opencityitalia.it/stanza-del-cittadino/guida-alla-creazione-dei-servizi-digitali/le-funzioni-generali-delladmin/gestire-la-policy-di-sicurezza.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.
