Title: HTTP Basic Auth
Author: Grzegorz Rola
Published: <strong>2018 年 5 月 5 日</strong>
Last modified: 2022 年 2 月 27 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/http-basic-auth.svg)

# HTTP Basic Auth

 作者：[Grzegorz Rola](https://profiles.wordpress.org/grola/)

[下载](https://downloads.wordpress.org/plugin/http-basic-auth.1.1.0.zip)

 * [详情](https://cn.wordpress.org/plugins/http-basic-auth/#description)
 * [评价](https://cn.wordpress.org/plugins/http-basic-auth/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/http-basic-auth/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/http-basic-auth/#developers)

 [支持](https://wordpress.org/support/plugin/http-basic-auth/)

## 描述

With this plugin you can protect your WordPress installation with Basic Auth. Basic
Auth can use custom password or WordPress users login data.

This plugin protects all dynamically generated content: posts, pages, archives, 
etc. Basic auth does not protect static content like images, scripts and CSS files.

You can protect: admin area (wp-admin), login page and frontend area.

## 安装

You can install this plugin like any other WordPress plugin.

 1. Download and unzip the latest release zip file.
 2. Upload the entire plugin directory to your /wp-content/plugins/ directory.
 3. Activate the plugin through the Plugins menu in WordPress Administration.

You can also use WordPress uploader to upload plugin zip file in menu Plugins ->
Add New -> Upload Plugin. Then go directly to point 3.

## 评价

![](https://secure.gravatar.com/avatar/4669c06297f4c01d882eb533006680a08cbbed616c0fdea5ffd352a8179ade53?
s=60&d=retro&r=g)

### 󠀁[Not working on frontend](https://wordpress.org/support/topic/not-working-on-frontend-2/)󠁿

 [Fixdemonium](https://profiles.wordpress.org/problemizer/) 2022 年 12 月 5 日

I specifically chose Frontend to add HTTP auth and it only prompts auth popup on
login pages. Not working as advertised.

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/http-basic-auth/reviews/)

## 贡献者及开发者

「HTTP Basic Auth」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Grzegorz Rola ](https://profiles.wordpress.org/grola/)

[帮助将「HTTP Basic Auth」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/http-basic-auth)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/http-basic-auth/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/http-basic-auth/)，或通过[RSS](https://plugins.trac.wordpress.org/log/http-basic-auth/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/http-basic-auth/)。

## 更新日志

#### 1.1.0 – 2022-02-27

 * Added compatibility with WordPress 5.9

#### 1.0.12 – 2018-05-04

 * Changed slug to http-basic-auth

#### 1.0.11 – 2018-05-04

 * Added tags

#### 1.0.9 – 2018-05-03

 * New contributor: WP Desk

#### 1.0.8 – 2018-05-03

 * Some cosmetics fixes

#### 1.0.7 – 2018-05-02

 * Added tests

#### 1.0.4 – 2018-05-02

 * Fixed notices

#### 1.0.3 – 2018-05-02

 * Added admin bar login info

#### 1.0.2 – 2018-05-02

 * Some cosmetics fixes

#### 1.0.0 – 2018-05-01

 * Initial Release!

## 额外信息

 *  版本 **1.1.0**
 *  最后更新：**4 年前**
 *  活跃安装数量 **200+**
 *  WordPress 版本 ** 4.5 或更高版本 **
 *  已测试的最高版本为 **5.9.13**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/http-basic-auth/)
 * 标签
 * [auth](https://cn.wordpress.org/plugins/tags/auth/)[Basic auth](https://cn.wordpress.org/plugins/tags/basic-auth/)
   [http auth](https://cn.wordpress.org/plugins/tags/http-auth/)[http basic auth](https://cn.wordpress.org/plugins/tags/http-basic-auth/)
   [security](https://cn.wordpress.org/plugins/tags/security/)
 *  [高级视图](https://cn.wordpress.org/plugins/http-basic-auth/advanced/)

## 评级

 1 星（最高 5 星）。

 *  [  0 条 5 星评价     ](https://wordpress.org/support/plugin/http-basic-auth/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/http-basic-auth/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/http-basic-auth/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/http-basic-auth/reviews/?filter=2)
 *  [  1 条 1 星评价     ](https://wordpress.org/support/plugin/http-basic-auth/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/http-basic-auth/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/http-basic-auth/reviews/)

## 贡献者

 *   [ Grzegorz Rola ](https://profiles.wordpress.org/grola/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/http-basic-auth/)