Our features site is undergoing a refresh! Be sure to explore the revamped site and discover our latest product roadmap launching here on Monday, March 18th.
This object is in archive! 

Listed of blocked words for sub-domains

Cas Eliëns shared this idea 10 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.

Replies (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