2016-08-24 12:49:21 +05:30
|
|
|
# Sign-up restrictions
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
You can block email addresses of specific domains, or whitelist only some
|
2018-10-15 14:42:47 +05:30
|
|
|
specific domains via the **Application Settings** in the Admin area.
|
2017-08-17 22:00:37 +05:30
|
|
|
|
|
|
|
>**Note**: These restrictions are only applied during sign-up. An admin is
|
2018-12-23 12:14:25 +05:30
|
|
|
able to add a user through the admin panel with a disallowed domain. Also
|
2017-08-17 22:00:37 +05:30
|
|
|
note that the users can change their email addresses after signup to
|
|
|
|
disallowed domains.
|
|
|
|
|
|
|
|
## Whitelist email domains
|
|
|
|
|
|
|
|
> [Introduced][ce-598] in GitLab 7.11.0
|
|
|
|
|
|
|
|
You can restrict users to only signup using email addresses matching the given
|
|
|
|
domains list.
|
|
|
|
|
2016-08-24 12:49:21 +05:30
|
|
|
## Blacklist email domains
|
|
|
|
|
|
|
|
> [Introduced][ce-5259] in GitLab 8.10.
|
|
|
|
|
|
|
|
With this feature enabled, you can block email addresses of a specific domain
|
|
|
|
from creating an account on your GitLab server. This is particularly useful to
|
|
|
|
prevent spam. Disposable email addresses are usually used by malicious users to
|
|
|
|
create dummy accounts and spam issues.
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
## Settings
|
|
|
|
|
2016-08-24 12:49:21 +05:30
|
|
|
This feature can be activated via the **Application Settings** in the Admin area,
|
|
|
|
and you have the option of entering the list manually, or uploading a file with
|
|
|
|
the list.
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
Both whitelist and blacklist accept wildcards, so for example, you can use
|
|
|
|
`*.company.com` to accept every `company.com` subdomain, or `*.io` to block all
|
|
|
|
domains ending in `.io`. Domains should be separated by a whitespace,
|
|
|
|
semicolon, comma, or a new line.
|
2016-08-24 12:49:21 +05:30
|
|
|
|
|
|
|
![Domain Blacklist](img/domain_blacklist.png)
|
|
|
|
|
|
|
|
[ce-5259]: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5259
|
2018-11-08 19:23:39 +05:30
|
|
|
[ce-598]: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/598
|