# Trusted sources
Source: https://docs.infraista.com/en/data-storage/redis/trusted-sources



Trusted sources are the IPv4 addresses and ranges that may connect to a Redis database. With an empty
list, anyone with the password can connect over TLS. Adding sources allows only those.

Open the database and select **Trusted sources**.

## Add a source [#add-a-source]

1. Enter an **IP address or range**, for example `203.0.113.7` for one server or `203.0.113.0/24` for a
   range (from /8 to /32).
2. Add a **Label** such as "web servers", so you know what it is later.
3. Select **Add source**.

Changes apply within a few seconds. Connections from other addresses are refused.

To remove a source, select the remove button on its row. Removing the last one opens the database to
any IP again (password still required).

## Related [#related]

* [Connect to Redis](/en/data-storage/redis/connect-to-redis)
