DFX Random User IDs
This WordPress plugin randomizes the user_id for the user created on WordPress setup, removing one potential attack factor from the site.
Utiliser avec prudence
DFX Random User IDs works, but test it on a staging site before relying on it in 2026. It runs on 200+ sites, is rated 4/5 and was last updated 2 days ago, and scores 61/100 on our health check.
- Développé activement — Dernière mise à jour il y a 2 jours
- Momentum — downloads up 363.4% vs the previous 30 days
- Petite base d'utilisateurs (plus de 200 installations actives)
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where DFX Random User IDs stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| la sécurité | >100 |
| user ids | #4 |
Adoption de version
Part de sites actifs par version.
Répartition des notes
★★★★★ ★★★★★ 4 sur 5 avis
About DFX Random User IDs
From the official readme · v20261201Description
This WordPress plugin randomizes the user_id for the user created on WordPress setup, removing one potential attack factor from the site.
Comment cela fonctionne
Once activated, the plugin will immediately replace the ID for the default admin user (with user ID 1). By default, the plugin will use random user IDs between 1 and 4503599627370495 (to ensure compatibility with Javascript code using the user ID).
All newly created users from that moment will be generated with a random user ID in the defined range.
Page des paramètres
Settings → Random User IDs (Network Admin → Settings on multisite, because users are shared by the whole network) shows:
- The site’s status: whether a user with ID 1 exists, how many users have IDs below 1,000, and how many have an ID that follows another user’s. These are the IDs an attacker can guess.
- The range for new user IDs, which you can change there. The range must hold at least ten IDs for every user, so that finding a free random ID stays quick. Existing users keep their IDs.
- A “More plugins” tab with the author’s other plugins.
How to customize the range for new user IDs
The easiest way is the settings page. You can also customize the range with the WordPress filters dfx_random_user_id_max_id and dfx_random_user_id_min_id, which take precedence over the settings page.
For example, if you want to have all your user IDs between 1000 and 9999 you can add the following lines to your theme’s functions.php file:
function set_dfx_max_user_id( $default_max_id ) {
return 9999;
}
add_filter( 'dfx_random_user_id_max_id', 'set_dfx_max_user_id' );
function set_dfx_min_user_id( $default_max_id ) {
return 1000;
}
add_filter( 'dfx_random_user_id_min_id', 'set_dfx_min_user_id' );
Probably, you’ll want to add these lines to your code before activating the plugin, so your new random main admin user ID is inside your desired range.
Services externes
Author’s plugin catalog (davefx.com)
The “More plugins” tab of the settings page lists the author’s other plugins. When an administrator opens that tab, the plugin downloads the list from https://davefx.com/plugins.json, at most once a week. Nothing about the site or its users is sent: the request identifies itself only as DFX-Plugin-Showcase and its version, although, as with any web request, davefx.com’s server receives the IP address of the server making it. If the file cannot be reached, a copy bundled with the plugin is shown. Nothing else in the plugin connects to any external service.
- Privacy Policy: https://davefx.com/en/privacy-policy/
Journal de modifications
20261201
- The “More plugins” tab loads its styles through wp_add_inline_style() instead of printing a style tag.
20261121
- New settings page (Settings → Random User IDs): the site’s status, the range for new user IDs, and the author’s other plugins
- The ID chosen for the first user on activation now respects the minimum ID too
- Security: the activation notice’s “Dismiss” link now needs a nonce and the right capability, and the notice escapes the user’s nickname
- The activation notice is shown only to the administrators who manage the plugin (in Network Admin on multisite)
- Code cleaned up to the WordPress coding standards
20260601
- Tested up to WordPress 7.0
- Declared the minimum required PHP version (7.4)
- Added an automated test suite and continuous integration against current WordPress and PHP versions
20201115
- Adding new filter dfx_random_user_id_min_id to customize the minimum allowed user ID number
20190125
- Adding new filter dfx_random_user_id_max_id to customize the maximum allowed user ID number
20170720
- Updating documentation to reflect changes incoming with WordPress version 4.9.
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best DFX Random User IDs alternatives
All security plugins →FAQ
DFX Random User IDs: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is DFX Random User IDs free?
Yes. DFX Random User IDs is free to download and use from the official WordPress.org plugin directory.
Is DFX Random User IDs safe to use in 2026?
DFX Random User IDs works, but test it on a staging site before relying on it in 2026. It runs on 200+ sites, is rated 4/5 and was last updated 2 days ago, and scores 61/100 on our health check.
How many websites use DFX Random User IDs?
DFX Random User IDs is active on 200+ WordPress websites and has been downloaded 9,005 times since it launched in May 2017. It was downloaded 672 times in the last 30 days.
Does DFX Random User IDs work with WordPress 7.1?
DFX Random User IDs is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does DFX Random User IDs need?
DFX Random User IDs requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was DFX Random User IDs last updated?
The latest version, 20261201, was released on December 1, 2026 (2 days ago).
Who makes DFX Random User IDs?
DFX Random User IDs is developed and maintained by David Marín Carreño (DaveFX).
What are the best alternatives to DFX Random User IDs?
The most popular alternatives to DFX Random User IDs are Wordfence Security (5M+ installs), Jetpack (3M+ installs) and Really Simple Security (3M+ installs).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit
