> ## Documentation Index
> Fetch the complete documentation index at: https://help.autoproctor.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Restrict Test Access by Email Address

> Limit who can take your test by restricting access to specific email domains or individual email addresses using Login Restrictions.

Login Restrictions let you control exactly who can take your test by filtering candidates based on their email address. This prevents unauthorized access even if someone shares or discovers your test link.

## How to Set Up Email Restrictions

<Steps>
  <Step title="Open your test settings">
    Navigate to the test on your [AutoProctor dashboard](https://www.autoproctor.co/test-admin/home/) and click the **Settings** button.
  </Step>

  <Step title="Go to Advanced Settings">
    Scroll down to the **Advanced Settings** section and locate the **Login Restrictions** fields.
  </Step>

  <Step title="Add domain or email restrictions">
    Enter the email domains or specific email addresses you want to allow. You can combine both types of restrictions in a single field (see examples below).
  </Step>

  <Step title="Save the test">
    Click **Create** or **Update** to apply the restrictions.
  </Step>
</Steps>

## Domain-Based Restrictions

You can restrict access to candidates whose email addresses end with specific domains. For example, entering `@abc.com` and `@xyz.com` allows only candidates with those email domains to take the test.

<Frame>
  <img src="https://mintcdn.com/autoproctor/ow38UBc3ZcOicu7m/images/settings/login-restrictions-domain.png?fit=max&auto=format&n=ow38UBc3ZcOicu7m&q=85&s=b610b5fdadb631df63f51cbb0fcd057f" alt="Login Restrictions field showing domain-based restrictions with @abc.com and @xyz.com entered" width="1600" height="175" data-path="images/settings/login-restrictions-domain.png" />
</Frame>

## Specific Email Restrictions

You can also permit individual email addresses alongside domain restrictions. This is useful when most candidates share a domain but a few external participants need access.

For example, you can allow all users whose email ends with `@abc.com` plus specific individual email addresses like `guest@gmail.com`.

<Frame>
  <img src="https://mintcdn.com/autoproctor/ow38UBc3ZcOicu7m/images/settings/login-restrictions-email.png?fit=max&auto=format&n=ow38UBc3ZcOicu7m&q=85&s=755e4f9fce05a1efa530290d64ecb896" alt="Login Restrictions field showing a combination of domain and individual email restrictions" width="1600" height="175" data-path="images/settings/login-restrictions-email.png" />
</Frame>

<Note>
  Email restrictions work in conjunction with the candidate's [login method](/candidate-login-methods). The candidate must sign in with an email address that matches one of the allowed domains or addresses you specified.
</Note>

## Related Resources

* [Candidate Login Methods](/candidate-login-methods) -- Understand available authentication options for candidates
* [Restricting to Specific Users](/restrict-access-to-candidates) -- Other methods for limiting test access
* [Inviting Candidates via Email](/invite-candidates-via-email) -- Generate unique per-candidate test links
* [Advanced Settings](/advanced-exam-settings) -- Configure Login Restrictions and other advanced test options
* [Best Practices for Test Creators](/best-practices-for-exam-creators) -- Tips for smooth test administration
