# Domain Restrictions

You can configure a setting which will lock your organization to being the only organization which can have learners register with your domain. What this does is prevent your learners from signing up to Affinity before you have invited them.&#x20;

To enable domain security restrictions, go to the settings page and find the Security Settings section. If you do not see this section, please contact your Affinity account manager to talk about enabling it.

<figure><img src="/files/cLFIKce6d2r69H7UKDjL" alt=""><figcaption></figcaption></figure>

Check the box for Lock Domain Ownership to enable this setting. Once you check it, new users will not be able to register using the domain of the primary admin until after you have invited them. This prevents inadvertent access to Affinity until you are ready.

Once checked, if a new user tries to register with your domain, they will be blocked and informed to find the admin at your organization about an invite.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.itsaffinity.com/product-guides/authenticating/domain-restrictions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
