# IP Allowlist

An IP allowlist restricts access to your Treasure AI account to a specified set of IP addresses. Users connecting from an address that doesn't match an allowed address are blocked from accessing the service. Use an IP allowlist when your team signs in from a known set of networks and you want to block access from other addresses.

## Types of IP Allowlists

Treasure AI has two types of IP allowlists:

* **Default account IP allowlist**: Applies to all users in an account. Account Owners and Administrators manage it from **Control Panel > IP Allowlist** in Treasure Console. See [Defining the Default IP Allowlist for the Treasure Account](/products/control-panel/security/ip-allowlist/defining-the-default-ip-allowlist-for-the-td-account).
* **User IP allowlist**: Contains the IP addresses that one specific user can use to access services. You can view a user's IP allowlist from the user's profile page. See [Defining a User IP Allowlist](/products/control-panel/security/ip-allowlist/defining-a-user-ip-allowlist).


## How the Two Allowlists Work Together

Users can access Treasure AI services from any IP address in the default account IP allowlist. If a user has a user IP allowlist, that user can no longer use the default account IP allowlist. The user IP allowlist replaces the default account IP allowlist for that user.

## Who Can Manage IP Allowlists

Account Owners and Administrators can set up an IP allowlist for themselves. An IP allowlist that an Account Owner or Administrator sets for themselves is treated as a user IP allowlist.

Restricted Users can view their own user IP allowlist from their profile page.

The following table shows which roles can change which IP allowlists. Rows show the role making the change. Columns show whose IP allowlist it is.

| Role making the change | Account Owner | Administrator | Restricted User | Self |
|  --- | --- | --- | --- | --- |
| Account Owner | Yes | Yes | Yes | Yes |
| Administrator | No | No | Yes | Yes |
| Restricted User | No | No | No | No |


## Next Steps

Defining the Default IP Allowlist for the Treasure Account
Add IP addresses and CIDR ranges that apply to every user in the account.

Defining a User IP Allowlist
Limit the IP addresses that one user can use to access Treasure AI.

API Key IP Allowlist
Restrict API key access to trusted IP ranges through the Treasure API.

IP Allowlist Exceptions
See which SDK and API import sources aren't affected by IP allowlist restrictions.