I would like to limit the username length (min, max), certain characters (spaces for example) and also disallow certain usernames (administrator, root, etc). Is it possible to integrate that into this module?
thanks
I would like to limit the username length (min, max), certain characters (spaces for example) and also disallow certain usernames (administrator, root, etc). Is it possible to integrate that into this module?
thanks
Comments
Comment #1
JohnnyW commentedYes -- use Access Rules module... and you can put variables in like % to ensure nothing before or after is allowed either, in case they try to mask those words with other words... below is a small snippet from my website...
As you can see, from the first of the words, %controller% is not allowed -- for example: website_controller, web-controller, site controller, controller_of_website, etc.etc. isn't allowed.
deny username %controller% edit delete
deny username %overseer% edit delete
deny username %proprietor% edit delete
deny username %ceo% edit delete
deny username %manager% edit delete
deny username %webpage% edit delete
deny username %editor% edit delete
deny username %police% edit delete
deny username %operator% edit delete
deny username %moderator% edit delete
deny username %(.)% edit delete
deny username %(dot)% edit delete
deny username %dot%xxx% edit delete
deny username %_xxx% edit delete
deny username %.xxx% edit delete
deny username %_net% edit delete
deny username %.net% edit delete
deny username %dot%net% edit delete
deny username %dot%com% edit delete
deny username %_com% edit delete
deny username %.com% edit delete
deny username %www% edit delete
deny username %owner% edit delete
deny username %site% edit delete
deny username %web% edit delete
deny username %website% edit delete
deny username administrator edit delete
deny username %administrator edit delete
deny username %admin% edit delete
deny username admin edit delete
deny username %ad%min edit delete
deny username %executive% edit delete
deny username %internet% edit delete
deny username %conductor% edit delete
deny username %head person% edit delete
deny username %governor% edit delete
deny username %supervisor% edit delete
deny username %official% edit delete
Comment #2
7wonders commentedAt the risk of sounding thick, which Access Rules module are you talking about?
Comment #3
7wonders commentedI wasnt being too thick at least. Access Rules was d6, heres the replacement http://drupal.org/project/user_restrictions
Comment #4
rafamd commentedThanks all. So guess this can be closed now ?
Comment #5
rafamd commented