{"id":1805,"date":"2024-12-17T10:47:10","date_gmt":"2024-12-17T09:47:10","guid":{"rendered":"https:\/\/wpmastertoolkit.com\/module\/noms-dutilisateur-sur-liste-noire\/"},"modified":"2025-01-01T16:11:04","modified_gmt":"2025-01-01T15:11:04","slug":"noms-dutilisateur-sur-liste-noire","status":"publish","type":"module","link":"https:\/\/wpmastertoolkit.com\/en\/module\/blacklisted-user-names\/","title":{"rendered":"Blacklisted usernames"},"content":{"rendered":"<h1 class=\"wp-block-heading\">Secure your users with WPMasterToolKit's \"Blacklisted Usernames\" module<\/h1>\n\n\n\n<p>When managing a WordPress site, user account security is a top priority. Using common or easily guessed usernames can be a gateway for attacks. To remedy this problem, we've developed the <strong>Blacklisted Usernames<\/strong> for WPMasterToolKit. This module helps you prevent the use of vulnerable usernames and offers a proactive solution for securing your site.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Which plugin can the Blacklisted Usernames module replace?<\/h2>\n\n\n\n<p>This module can replace plugins dedicated to managing username restrictions or basic protection against malicious users. Unlike some third-party plugins, which add an unnecessary burden, <strong>Blacklisted Usernames<\/strong> is optimized to load only when activated, in keeping with WPMasterToolKit's performance philosophy.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The module's main functions<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1. <strong>Blocking forbidden usernames<\/strong><\/h3>\n\n\n\n<p>The module incorporates an exhaustive blacklist that prevents the registration or use of usernames considered dangerous. This list includes :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Generic names such as \"admin\", \"root\", \"user\".<\/li>\n\n\n\n<li>Names linked to system or technical functions such as \"ftp\", \"server\", \"database\".<\/li>\n\n\n\n<li>Special characters and strings that could cause vulnerabilities.<\/li>\n<\/ul>\n\n\n\n<p>Using the WordPress filter <code data-no-auto-translation=\"\">illegal_user_logins<\/code>the module automatically adds these names to the list of prohibited identifiers.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2. <strong>Proactive verification of directors' accounts<\/strong><\/h3>\n\n\n\n<p>The module does more than just block new registrations. It proactively checks existing admin accounts. If an admin account uses a blacklisted username, an alert message is displayed in the dashboard with an option to correct the problem immediately.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3. <strong>Secure user name modification<\/strong><\/h3>\n\n\n\n<p>Thanks to an AJAX interface in the administration, administrators can easily change their user name directly from the alert. This process uses a secure nonce to prevent abuse, and guarantees that the new name chosen is valid and unique.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How do I use the Blacklisted Usernames module?<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Activation<\/strong> Activate the module from the WPMasterToolKit interface. Once activated, it will immediately start monitoring usernames.<\/li>\n\n\n\n<li><strong>Blocking forbidden names<\/strong> Any attempt to register or use a name on the blacklist will be automatically blocked.<\/li>\n\n\n\n<li><strong>Administrative alerts<\/strong> : If an administrator uses a blacklisted username, a notification will appear in the WordPress interface with a prompt to change the name.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Example of use in code :<\/h3>\n\n\n\n<p>If you wish to customize the blacklist, you can use the filter <code data-no-auto-translation=\"\">illegal_user_logins<\/code> :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"php\" class=\"language-php\" data-no-auto-translation=\"\">add_filter( 'illegal_user_logins', function( $usernames ) {\n    $usernames[] = 'exemple';\n    return $usernames;\n});\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">The technical choices behind this module<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1. <strong>Optimized performance<\/strong><\/h3>\n\n\n\n<p>We've designed this module to load its PHP classes and WordPress hooks only when activated. This limits its impact on overall site performance.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2. <strong>Native WordPress integration<\/strong><\/h3>\n\n\n\n<p>We've taken advantage of existing WordPress hooks (<code data-no-auto-translation=\"\">illegal_user_logins<\/code>, <code data-no-auto-translation=\"\">admin_notices<\/code>etc.) for a natural integration that respects WordPress standards.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3. <strong>User and administrator protection<\/strong><\/h3>\n\n\n\n<p>The module makes a point of protecting administrators, often the main target of attacks. By combining proactive verification with a simplified process for modifying usernames, it significantly reduces the risks associated with weak credentials.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>The module <strong>Blacklisted Usernames<\/strong> is an effective solution for strengthening the security of user and administrator accounts on your WordPress site. By preventing the use of vulnerable usernames and making it easy to modify them, it protects your site against common attacks, while remaining lightweight and high-performance.<\/p>\n\n\n\n<p>Adopt this module today and reduce the risks associated with insecure usernames on your site!<\/p>","protected":false},"excerpt":{"rendered":"<p>Strengthen the security of your WordPress site with the \"Blacklisted Usernames\" module<br \/>\nAvoid common attacks by prohibiting the use of vulnerable usernames such as \"admin\" or \"root\". This WPMasterToolKit module features a comprehensive blacklist, blocks risky logins and alerts administrators to dangerous usernames. Protect your site proactively and optimize its performance with this lightweight, effective module.<\/p>","protected":false},"featured_media":0,"parent":0,"template":"","meta":{"_acf_changed":true,"_seopress_robots_primary_cat":"","_seopress_titles_title":"Prot\u00e9gez WordPress : stop aux noms d'utilisateur bannis","_seopress_titles_desc":"Prot\u00e9gez votre site WordPress en bloquant les noms d'utilisateur vuln\u00e9rables gr\u00e2ce \u00e0 WPMasterToolKit, assurant une s\u00e9curit\u00e9 optimale.","_seopress_robots_index":"","_surecart_dashboard_logo_width":"180px","_surecart_dashboard_show_logo":true,"_surecart_dashboard_navigation_orders":true,"_surecart_dashboard_navigation_invoices":true,"_surecart_dashboard_navigation_subscriptions":true,"_surecart_dashboard_navigation_downloads":true,"_surecart_dashboard_navigation_billing":true,"_surecart_dashboard_navigation_account":true},"class_list":["post-1805","module","type-module","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/wpmastertoolkit.com\/en\/wp-json\/wp\/v2\/module\/1805","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpmastertoolkit.com\/en\/wp-json\/wp\/v2\/module"}],"about":[{"href":"https:\/\/wpmastertoolkit.com\/en\/wp-json\/wp\/v2\/types\/module"}],"wp:attachment":[{"href":"https:\/\/wpmastertoolkit.com\/en\/wp-json\/wp\/v2\/media?parent=1805"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}