Skip to content

GitLab Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • See what's new at GitLab
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
GitLab FOSS
GitLab FOSS
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • Requirements
    • Requirements
    • List
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Code Review
    • Insights
    • Issues
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • GitLab.org
  • GitLab FOSSGitLab FOSS
  • Issues
  • #19749

Closed
Open
Opened Jul 12, 2016 by Patricio Cano@patricio
  • Report abuse
  • New issue
Report abuse New issue

Add blocklist of email domains to restrict sign ups

Taken from discussion here: gitlab-com/support#61 and here: gitlab-org/gitlab-ce#5932

As a way of fighting spam, we can add a blacklist of email domains that will be denied sign ups.

I believe that this option will also be usable for other public facing GitLab installations, so this is a spam fighting measure that we can include with GitLab itself.

I'm still thinking about the best way to implement such a blacklist. If we takes this list as an example, the amount of domains can be quite long.

My initial, simple suggestion for implementation would be:

  • Add a field to the ApplicationsSettings to enable/disable a sign up email domain blacklist and one for the blacklist.
  • If enabled, show a text area where you would input one domain per line.

On sign up, the email domain would be checked against this list.

This would be the simplest approach to the blacklist. What do you think @DouweM, @stanhu?

Linked issues

  • Discussion
  • Designs
Assignee
Assign to
8.10
Milestone
8.10
Assign milestone
Time tracking
None
Due date
None
1
Labels
spam fighting
Assign labels
  • View project labels
Reference: gitlab-org/gitlab-foss#19749