> For the complete documentation index, see [llms.txt](https://docs.glesys.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.glesys.com/products/database/how-tos/manage-access.md).

# Manage access

By default, all incoming connections to the database instance are blocked as a security measure.

***

The firewall applies to the entire database instance, not just specific databases or users. The firewall also applies to the monitoring URL.

## Managing database access using the control panel

In the **Firewall** section of the overview, you need to add the IP addresses or IP ranges that should be allowed to connect to the database. Click **Manage access** to enter your IP addresses.

<figure><img src="https://3379166260-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlMZhhdQNcWOpX5Bj48GK%2Fuploads%2Fyca8p6yqbRSw7rhVmd0Z%2Fdbaas-update-firewall-with-ip.png?alt=media&amp;token=457644b2-ef5a-4f46-86b9-420d71ce3b67" alt=""><figcaption></figcaption></figure>

In the dialog box that opens, enter your IP addresses or IP ranges, separated by commas. In this example, we allow the entire IP range 203.0.113.0/24 and a single IP address 128.66.1.43. Once you’ve entered your IP addresses, click **Update**.

<figure><img src="https://3379166260-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlMZhhdQNcWOpX5Bj48GK%2Fuploads%2FHyi9pRjGXkuNmoKJpOja%2Fdbaas-firewall-enter-ip.png?alt=media&amp;token=b1db1abf-a371-4051-aa04-2f008f5770ac" alt=""><figcaption></figcaption></figure>

## Managing database access using the API

Use the [database/updateallowlist](https://github.com/GleSYS/API-docs/wiki/API-Documentation#databaseupdateallowlist) endpoint to manage database access using the [API](/platform/control-panel/api.md).
