Support

Admin Tools

#29765 Block top level domain from registration

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by jjst135 on Monday, 04 June 2018 01:45 CDT

jjst135
Hi! Lately one of our sites gets a lot of registrations with email accounts from the top level domain .xyz.

Is it possible to use AdminTools to block registrations with email account that are on this top level domain?

For example:
[email protected]

We would like to block registration with something like this:
*.xyz

Can this be done?

Kind regards,
Jip

nicholas
Akeeba Staff
Manager
The "Email Domains" feature in Admin Tools' WAF performs partial matching. Therefore adding .xyz there would block all email domains with that TLD.

Caveat: since it does partial matching it will block any email address containing the .xyz literal, e.g. [email protected]. While someone could assume that we could split the email address at the at-sign or do a right hand search only on the email address it wouldn't work reliably because of the totally insane RFC defining what is a valid email address.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

jjst135
OK, thanks!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!