WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Matteo Enna v4.0.0

Easy Basic Authentication

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

Easy Basic Authentication

The facts

Rating
5★ from 3
Active installs
700+
Price
Free
Last updated
1 Jun 2026
Added
Sep 2023
Requires WP
5.0
Tested up to
WP 7.0.4
Requires PHP
7.2.5
Downloads
13,698

Our analysis

AI-assisted

Easy Basic Authentication is a WordPress plugin designed to add basic authentication to your site or admin area. You can set a custom username and password to restrict access, ensuring that only authorized users can enter. The plugin also provides options for logging failed access attempts and successful logins, enhancing your site's security.

This plugin is suitable for users who want a straightforward way to secure their WordPress site or admin area without complex configurations. It includes features like email alerts for unauthorized access attempts and a whitelist for trusted IP addresses, making it a practical choice for site administrators focused on security.

Best for: This plugin suits WordPress site administrators looking to enhance security through basic authentication.

What it does well

  • Simple configuration for site or admin area protection
  • Logs failed access attempts and successful logins
  • Email alerts for unauthorized access attempts
  • Whitelist feature for trusted IP addresses
  • Intuitive interface for easy management

Where it falls short

  • No additional features beyond basic authentication
  • Limited information on user support or documentation

Verdict

Easy Basic Authentication offers a straightforward solution for securing access to your WordPress site. Its features are practical for those prioritising site security.

From the developer

Matteo Enna's own description of Easy Basic Authentication, lightly tidied.

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

Key Features

  • 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.

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.

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:

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for securing a site.

Really Simple Security

Easily improve site security with WordPress Hardening, Two-Factor Authentication (2FA), Login Protection, Vuln...

Free 3M+ installs 4.9★ (8,862)
Wordfence Security

Firewall, Malware Scanner, Two Factor Auth, and Comprehensive Security Features, powered by our 24-hour team....

Free 5M+ installs 4.7★ (4,983)
Akismet Anti-spam: Spam Protection

The best anti-spam protection to block spam comments and spam in a contact form. The most trusted antispam sol...

Free 5M+ installs 4.7★ (1,186)
Loginizer

Loginizer is a WordPress security plugin which helps you fight against bruteforce attacks.

Free 1M+ installs 4.8★ (1,030)
Safe SVG

Enable SVG uploads and sanitize them to stop XML/SVG vulnerabilities in your WordPress website.

Free 1M+ installs 4.9★ (79)
All-In-One Security

Protect your website investment with All-In-One Security (AIOS) – a comprehensive and easy to use security plu...

Free 1M+ installs 4.7★ (1,715)