Přeskočit na obsah
WordPress.org

Česko

  • Šablony
  • Pluginy
  • Novinky
  • Podpora
  • O WordPressu
  • Openverse
  • Vzory
  • Komunitní podpora
  • Překlady
  • Kontakt
  • Získejte WordPress
Získejte WordPress
WordPress.org

Plugin Directory

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

  • Odeslat plugin
  • Moje oblíbené
  • Přihlásit se
  • Odeslat plugin
  • Moje oblíbené
  • Přihlásit se

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

Autor: Matteo Enna
Stáhnout
  • Podrobnosti
  • Hodnocení
  • Instalace
  • Vývojáři
Podpora

Popis

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:

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

GitHub Repository

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

Snímky obrazovky

Instalace

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

Recenze

Works perfectly and improves site security without huge plugins

ziordia68 25. 10. 2025
I found it easy to implement, and works perfectly. With it, I do not need those really big security plugins, just combine it with other small plugins like 2fa.

Works perfectly

Nguyen Minh Hung 10. 9. 2024 1 odpověď
Works perfectly and doesn’t require complicated configuration. Thank you for creating this plugin.

Bravo! Mille Grazie!

James Joseph Finn 25. 6. 2024 2 odpovědi
Ciao from an Italian-American. The plugin works flawlessly. Thank you for publishing it. One question: After configuring the plugin, I was expecting to find a .htpasswd file in the root directory; but apparently the plugin sets Basic Auth in a manner different than the one I’m familiar with. I’m no backend dev, but I always love to learn. I’m wondering how this works under the hood to implement Apache Basic Auth. Thank you again, paisano.
Přečtěte si všechny 3 recenze

Autoři

Easy Basic Authentication – Add basic auth to site or admin area je otevřený software. Následující lidé přispěli k vývoji tohoto pluginu.

Spolupracovníci
  • Matteo Enna
  • ashkanahmadi

Plugin „Easy Basic Authentication – Add basic auth to site or admin area“ byl přeložen do 6 jazyků. Děkujeme všem překladatelům za jejich pomoc.

Přeložte “Easy Basic Authentication – Add basic auth to site or admin area” do svého jazyka.

Zajímá vás vývoj?

Prohledejte kód, podívejte se do SVN repozitáře, nebo se přihlaste k odběru protokolu vývoje pomocí RSS.

Meta

  • Verze 3.9.1
  • Poslední aktualizace před 4 měsíce
  • Aktivních instalací 700+
  • Verze WordPressu 5.0 nebo novější
  • Testováno až do WordPressu 6.9.4
  • Verze PHP 7.2.5 nebo novější
  • Jazyky

    English (UK), English (US), German, German (Austria), German (Switzerland), Italian a Spanish (Spain).

    Přeložte do vašeho jazyka

  • Štítků
    access-controlauthenticationloginsecuritywordpress security
  • Podrobnosti

Hodnocení

5 z 5 hvězdiček.
  • 3 5hvězdičkové hodnocení 5 hvězdiček 3
  • 0 4hvězdičkové hodnocení 4 hvězdičky 0
  • 0 3hvězdičkové hodnocení 3 hvězdičky 0
  • 0 2hvězdičkové hodnocení 2 hvězdičky 0
  • 0 1hvězdičkové hodnocení 1 hvězdička 0

Your review

Zobrazit všechny recenze

Spolupracovníci

  • Matteo Enna
  • ashkanahmadi

Podpora

Potřebujete pomoc?

Fórum podpory

Dary

Chtěli byste podpořit vývoj tohoto pluginu?

Přispět na tento plugin

  • O WordPressu
  • Novinky
  • Hosting
  • Soukromí
  • Příklady
  • Šablony
  • Pluginy
  • Vzory
  • Vzdělávání
  • Podpora
  • Vývojáři
  • WordPress.TV
  • Zapojte se
  • Události
  • Podpořit
  • Pět pro budoucnost
  • WordPress.com
  • Matt
  • bbPress
  • BuddyPress
WordPress.org
WordPress.org

Česko

  • Navštivte náš účet na X (dříve Twitter)
  • Navštivte náš Bluesky účet
  • Navštivte náš účet Mastodon
  • Navštivte náš Threads účet
  • Navštivte naši stránku na Facebooku
  • Navštivte náš Instagram účet
  • Navštivte náš LinkedIn účet
  • Navštivte náš TikTok účet
  • Navštivte náš YouTube kanál
  • Navštivte náš Tumblr účet
Code is Poetry.
The WordPress® trademark is the intellectual property of the WordPress Foundation.