cPanel & WHM Version 94 has been released, and brings a slew of great updates. Take a look at what is included, and then upgrade today!
This object is in archive! 

Listed of blocked words for sub-domains

Cas Eliëns shared this idea 7 years ago
Needs Feedback

I would like to suggest the ability to block the creation of sub-domains based on a list of keywords.


The filter would usually block only complete matches, but partial matches can be enabled by adding words like admin* to the list (where * can match anything).


Example:

the domain fakesubdomain.domain.com wouldn't be blocked if only 'fake' was in the list, but if 'fake*' was in the list it would be blocked.

Additionally, there could be a checkbox to select if the keywords applies only to strict matches or not.


I believe this feature can be used to further increase the security of hosting accounts by preventing common phishing sub-domains to be blocked.

Best Answer
photo

While this does not mean that the feature request will not be considered, I do want to point out that this functionality is presently able to be leveraged through Custom Event Hooks.


https://documentation.cpanel.net/display/SDK/Custom+Event+Handlers


You would be able to write a custom event handler for "SubDomain::addsubdomain" that errors and refuses to add subdomains that match certain text.


This does, of course, require some basic programming knowledge.

Comments (2)

photo
1

While this does not mean that the feature request will not be considered, I do want to point out that this functionality is presently able to be leveraged through Custom Event Hooks.


https://documentation.cpanel.net/display/SDK/Custom+Event+Handlers


You would be able to write a custom event handler for "SubDomain::addsubdomain" that errors and refuses to add subdomains that match certain text.


This does, of course, require some basic programming knowledge.

photo
1

Thanks for the reply,


While I understand that this can be done through hooks (basically everything can) I would love to have it as a separate setting in WHM. Partially because I don't trust myself with editing the code and partially because it would be a lot easier to manage and set up.

Leave a Comment
 
Attach a file