# Best practices: choosing an isolation setup (/core/build/security-and-governance/connector-level-security-best-practices)

:::info
**Target Audience**: Makers & Developers
:::

This optional guide helps you pick a Toucan AI setting for the way your data is already organised. It does not require you to change your databases.

| Your data is separated by... | Toucan AI setting |
| --- | --- |
| Server, instance or account | Variable on **Host** (and **Port** if needed). Snowflake: **Account** |
| Database on a shared server | Variable on **Database** (PostgreSQL, Azure SQL, Snowflake) |
| MySQL database | Variable on **Host** if each database has its own host. Not possible through the **Database** field |
| Schema | Not covered by connection variables. A view with a tenant column, plus RLS, is one option |
| Table | Not covered by connection variables. A view with a tenant column, plus RLS, is one option |
| Rows in shared tables | RLS on every table that holds tenant data |
| PostgreSQL policies you already have | Session variables. The database user must be subject to those policies |
| Column rights within the same data | CLS |

Before going live:

- Apply schema changes to every routed source. Schema refresh reads only the source set by the default values.
- If connection credentials are shared, the account can reach every source. Give it read-only access.

## Related pages [#related-pages]

- [Connector-Level Security](./connector-level-security.mdx)
- [Route a database connection with a user attribute](./how-to/route-a-database-connection.mdx)
- [Row-Level Security (RLS) operators](./row-level-security-rls-operators.mdx)
- [Column-Level Security (CLS)](./column-level-security-cls.mdx)
