🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
Easy Basic Authentication – Add basic auth to site or admin area icon
Activement maintenu Testé avec WP 7.1 #13 in access-control

Easy Basic Authentication – Add basic auth to site or admin area

Secure your WordPress site with easy and effective basic authentication. Restrict access, monitor attempts, and enhance security.

Installations actives800+100+ niveaux
Téléchargements · 30D943▲ +5 % vs prév. 30j
Évaluation5/53 avis
Score de santé73/100Bon
Téléchargements de tous les temps16.9KSince Sep 2023
Support résolu—Aucun fil de discussion récent
A besoin deWP 5.0PHP 7.2.5+
Téléchargements · 7j245▲ +10.4% week over week
Notre verdict

Choix solide

Easy Basic Authentication is a solid plugin choice in 2026, with a few things worth checking first. It runs on 800+ sites, is rated 5/5 and was last updated 2 months ago, and scores 73/100 on our health check.

  • Testé avec le dernier WordPress (7.1)
  • Petite base d'utilisateurs (800+ installations actives)
  • Très peu de critiques jusqu'à présent

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

4896144Sep 5Oct 19Dec 3
Hier32
Moyenne quotidienne (1 ans)19
Jour de pointe19230 septembre 2026
12 Derniers mois7K

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 Easy Basic Authentication stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
access-control #61 8,297 Best access-control plugins →
authentication #16 5,109 Best authentication plugins →
login >100 10,000 Meilleurs plugins de connexion →
la sécurité >100 10,000 Meilleurs plugins de sécurité →
Sécurité WordPress >100 10,000 Best wordpress security plugins →

Adoption de version

Part de sites actifs par version.

  • 4.253.7%
  • 4.119.2%
  • 4.010.1%
  • 3.99.0%
  • Autres8.0%

Répartition des notes

★★★★★ ★★★★★ 5 sur 3 avis

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Easy Basic Authentication

From the official readme · v4.2.0

Description

The Easy Basic Authentication plugin provides a simple method to add basic authentication to your WordPress site. You can enable basic authentication for the entire site or only for the admin area by setting a custom username and password. Secure your site by restricting access only to authorized users.

Try it on a free mock site: click here

Principales caractéristiques

  • Simple Configuration: With Easy Basic Authentication, you can easily set up basic authentication for your entire website or specifically for the admin area. Set a custom username and password to ensure secure access.

  • Admin Area Protection: If you wish to restrict access to your WordPress admin area, Easy Basic Authentication allows you to do so quickly and effectively. Only users with the correct credentials will be able to access this critical part of your site.

  • Entire site protection: If you wish, there is an option to extend the access limitation to the entire site and not just for your WordPress admin area, Easy Basic authentication allows you to do this quickly and effectively. Only users with the correct credentials will be able to access this critical part of your site.

  • Failed Access Logging: The plugin keeps track of failed login attempts, helping you identify unauthorized access attempts. This is particularly useful for monitoring your site’s security.

  • Access Log: If you choose to enable this feature, Easy Basic Authentication allows you to log successful logins, providing a comprehensive overview of login activities on your site.

  • Easy Management: The plugin’s intuitive interface makes it simple to manage basic authentication settings. You can easily enable or disable basic authentication and adjust credentials to suit your needs.

  • Email Alert Functionality: Easy Basic Authentication includes an email alert feature to notify you of unauthorized access attempts. You can receive email alerts when someone tries to access your site without proper credentials.

  • White List Functionality: Easy Basic Authentication now includes a White List feature, allowing you to specify trusted IP addresses exempt from basic authentication. Configure this list to grant immediate access to known users or systems without requiring credentials, enhancing convenience while maintaining security.

  • Access Token for Crawlers: Some visitors cannot type a username and password: a search engine crawler, an uptime check, a headless front end. Generate an access token in the settings and let them through with an X-Basic-Auth-Token header, or an Authorization: Bearer one. The token opens the site only, never the admin area or the login page, and it exists only if you generate it.

Protect your WordPress site with basic authentication quickly and reliably. Easy Basic Authentication gives you control to ensure that only authorized users can access your online resources. Maintain your site’s security and prevent unwanted access today with Easy Basic Authentication.

Usage

  • Visit the plugin settings page to configure your desired basic authentication options.
  • Choose whether to enable basic authentication for the entire site or just the admin area.
  • Set a custom username and password for secure access.
  • Monitor failed access attempts and access logs for added security.

Letting a crawler in with a token

Go to the plugin settings, tick Generate a token when saving next to Access token for crawlers, and save. The token appears in the field; copy it and give it to the service that needs to reach the site.

That service must send it as a header, one of these two:

X-Basic-Auth-Token: your-token-here
Authorization: Bearer your-token-here

A request carrying the right token is served normally. The admin area and the login page stay behind the username and password, so the token cannot be used to reach the dashboard. A wrong token is refused like wrong credentials, and it is recorded among the failed attempts.

The token is a password: anyone holding it can read the whole site. Send it over HTTPS, and tick Delete the token and close this door when it is no longer needed. Tick Replace this token with a new one when saving to rotate it; the old one stops working immediately.

The basic_auth_token_access_granted action fires whenever a request comes in on the token, if you want to log or count those separately.

Troubleshooting: Resetting Basic Authentication

If you’re having trouble logging in due to the basic authentication, you can reset it and regain access by following these steps:

1 Connect to your website via FTP.
2 Navigate to the plugin directory:

wp-content/plugins/easy-basic-authentication/class/

3 Locate the file:

easy-basic-authentication-class.php

4 Find the following line:

add_action( 'init', array($this,'basic_auth_admin') );

5 Comment out that line by adding a # at the beginning:

#add_action( 'init', array($this,'basic_auth_admin') );

6 Save the file and re-upload it to your server.

This will disable the basic authentication temporarily, allowing you to log in. Once logged in, you can adjust the plugin settings as needed.

If you need further assistance, feel free to reach out.

Référentiel GitHub

You can find the source code and contribute to the project on GitHub: Easy Basic Authentication on GitHub

Installation

  1. Upload the Easy Basic Authentication plugin to your WordPress site.
  2. Activez le plugin.
  3. Configure the basic authentication settings from the WordPress admin panel.

Journal de modifications

4.2.0

  • New: an access token that lets a crawler or an external service reach the site without a username and password. Generate it in the settings and send it as an X-Basic-Auth-Token header, or as Authorization: Bearer. It opens the site only: the admin area and the login page stay protected. No token is generated until you ask for one, so nothing changes for sites that do not need it.
  • Fixed: on a site protected in full, scheduled tasks stopped running. WordPress closes the response of wp-cron.php before loading the plugins, so the 401 challenge reached nobody, left a “headers already sent” warning in the error log on every run, and the exit that followed cancelled every scheduled task of the site. Cron requests are no longer challenged.
  • Fixed: on WordPress 6.7 and later the plugin triggered the “Translation loading was triggered too early” notice. The settings fields are now built on admin_init instead of plugins_loaded.

4.1.0

  • Fixed: an access attempt was logged, and an alert email sent, for every visitor. Basic Authentication always makes a first request without credentials, and that request was being counted as a failed attempt. Only requests that send wrong credentials are recorded now.
  • Fixed: the access log was stored in an autoloaded option, so up to 500 entries (around 144 KB) were loaded on every request to the site. It is now loaded only where it is used, and existing logs are migrated on update.
  • Fixed: on a site protected in full, WP-CLI and any command line script stopped silently. HTTP authentication is no longer applied outside HTTP requests.
  • The 401 status is now sent through WordPress instead of a hardcoded HTTP/1.0 header.
  • The authentication realm can be changed with the new basic_auth_realm filter.
  • Testé jusqu'à WordPress 7.1.

Journal des modifications complet sur WordPress.org →

Captures d'écran

Easy Basic Authentication – Add basic auth to site or admin area screenshot
Easy Basic Authentication – Add basic auth to site or admin area screenshot
Easy Basic Authentication – Add basic auth to site or admin area screenshot

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.

Badge d'installations actives Badge Badge de score de santé

Best Easy Basic Authentication alternatives

All access-control plugins →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
1 PublishPress Capabilities: User Role Access Control, Admin Area Permissions PublishPress Capabilities: User Role Access Control, Admin… User role editing for WordPress. Manage user roles, control capabilities and permissions… par Publishippress 90K+ ★★★★★★★★★★ 4.7 (144) il y a 4 jours 95
2 Content Control – The Ultimate Content Restriction Solution! Restrict Content, Create Conditional Blocks & More Content Control Restrict content based on login status, user roles, device type & more. Monetize your… de Daniel Iser 40K+ ★★★★★★★★★★ 4.9 (576) Il y a 2 mois 76
3 PublishPress Permissions: Access Control, Content Permissions, User Access PublishPress Permissions: Access Control, Content Permissio… The permissions plugin for posts, pages, categories, tags and more. You can control… par Publishippress 10K+ ★★★★★★★★★★ 4.3 (66) il y a 1 semaine 89
4 Restrict User Access – Ultimate Membership & Content Protection Restrict User Access Create Access Levels and restrict any post, page, category, etc. Supports bbPress… par Joachim Jensen 10K+ ★★★★★★★★★★ 4.3 (94) il y a 4 semaines 76
5 Groupes – adhésions et contrôle d'accès Groupes – adhésions et contrôle d'accès Transformez votre site en une solution d'adhésion puissante. Gérer les membres, les équipes et accéder à… par itthinx 10K+ ★★★★★★★★★★ 4.8 (383) il y a 1 semaine 93
6 SureMembers – Membership & Content Restriction Plugin SureMembers – Membership & Content Restriction Plugin Protect your content, build memberships, and control who sees what on your WordPress site… par la force du remue-méninges 2K+ ★★★★★★★★★★ 5 (3) il y a 8 heures 67
7 Quick Download Button Quick Download Button Add stylish download buttons to any post or page — 7 styles, countdown, popup modal, access… by sidocode 1K+ ★★★★★★★★★★ 4.6 (12) Il ya 3 jours 80
8 SimpleShop SimpleShop The SimpleShop WP plugin connects your WordPress website with a SimpleShop account and… by Redbit s.r.o. 1K+ ★★★★★★★★★★ Aucun avis Il y a 3 mois 60
9 Menu By User Roles Menu By User Roles Menu By User Roles allows you to control the visibility of menu items based on user roles. by kahnu044 1K+ ★★★★★★★★★★ 5 (3) Il y a 2 mois 73
10 Groupes 404 Redirection Groupes 404 Redirection Redirigez 404 lorsqu'un visiteur tente d'accéder à une page protégée par des groupes. par itthinx 1K+ ★★★★★★★★★★ 4.6 (10) Il y a 2 mois 76

FAQ

Easy Basic Authentication: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : WordPress.org

Is Easy Basic Authentication free?

Yes. Easy Basic Authentication is free to download and use from the official WordPress.org plugin directory.

Is Easy Basic Authentication safe to use in 2026?

Easy Basic Authentication is a solid plugin choice in 2026, with a few things worth checking first. It runs on 800+ sites, is rated 5/5 and was last updated 2 months ago, and scores 73/100 on our health check.

How many websites use Easy Basic Authentication?

Easy Basic Authentication is active on 800+ WordPress websites and has been downloaded 16,922 times since it launched in September 2023. It was downloaded 943 times in the last 30 days.

Does Easy Basic Authentication work with WordPress 7.1?

Yes. The developer has tested Easy Basic Authentication up to WordPress 7.1.5, the latest release. It requires WordPress 5.0 or newer.

What PHP version does Easy Basic Authentication need?

Easy Basic Authentication requires PHP 7.2.5 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Easy Basic Authentication last updated?

The latest version, 4.2.0, was released on September 29, 2026 (2 months ago).

Who makes Easy Basic Authentication?

Easy Basic Authentication is developed and maintained by Matteo Enna.

What are the best alternatives to Easy Basic Authentication?

The most popular alternatives to Easy Basic Authentication are PublishPress Capabilities:… (90K+ installs), Content Control (40K+ installs) and PublishPress Permissions: A… (10K+ 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

↑↓ bouger↵ ouvrir