> Source: https://docs.cyberelements.io/saas/pt/Usage/Administration/AdminConsole/MainWorkPanel/AccessPolicies/AccessConditions/ConnectionAddresses/

# Connection address condition

> **Availability of the condition**
>
> | Works without the client | Requires the client | Windows | macOS | Ubuntu |
> |---|---|---|---|---|
> | ✅ | ❌ | ✅ | ✅ | ✅ |

The **Connection address** condition checks **which URL** the user arrived through: the host part of the Mediation Controller address, without the protocol or the path.

One platform published under **several names** can thus open the same applications through only some of them.

![](https://docs.cyberelements.io/saas/img/cyberelements/CYE_AdminConsole_AccessConditions_ConnectionAddress_Edit.png)

## Use cases

An organisation often exposes its access under at least two addresses: one internal, one published on the Internet. The [access policy](https://docs.cyberelements.io/saas/pt/Usage/Administration/AdminConsole/MainWorkPanel/AccessPolicies/AccessContracts/) does not distinguish the entry address; this condition does.

It also allows reserving an application for a particular [site](https://docs.cyberelements.io/saas/pt/Usage/Administration/AdminConsole/MainWorkPanel/SitesAndGateways/Sites/) when that site carries its own DNS name.

## Scope of the check

The host name is **chosen by the client**: it indicates how the user reached the platform, not where they came from. The condition is therefore not a network segregation measure: that role belongs to the [IP](https://docs.cyberelements.io/saas/pt/Usage/Administration/AdminConsole/MainWorkPanel/AccessPolicies/AccessConditions/IP/) condition, and the two can be combined in a [metarule](https://docs.cyberelements.io/saas/pt/Usage/Administration/AdminConsole/MainWorkPanel/AccessPolicies/AccessConditions/Metarule/).

## Limits

- The value compared is the **host name alone**: no `https://`, no port, no path.
- The field accepts regular-expression characters, which allows several names to be covered; the expression needs reviewing, since an over-broad expression produces no error at all.
- The condition does not protect against a host name a client might forge: it serves to organise access, not to segregate it.

---

The details of the fields are in the [module reference](https://docs.cyberelements.io/saas/pt/Usage/AdminConsoleReference/AccessConditions/).
