Title: WP Basic Authentication
Author: nutttaro
Published: <strong>2020 年 9 月 18 日</strong>
Last modified: 2026 年 2 月 19 日

---

搜尋外掛

![](https://ps.w.org/wp-basic-authentication/assets/banner-772x250.png?rev=2384114)

![](https://ps.w.org/wp-basic-authentication/assets/icon.svg?rev=2384114)

# WP Basic Authentication

 由 [nutttaro](https://profiles.wordpress.org/nutttaro/) 開發

[下載](https://downloads.wordpress.org/plugin/wp-basic-authentication.1.1.1.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/wp-basic-authentication/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/wp-basic-authentication/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/wp-basic-authentication/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/wp-basic-authentication/#developers)

 [技術支援](https://wordpress.org/support/plugin/wp-basic-authentication/)

## 外掛說明

WP Basic Authentication 是個使用類似 .htpasswd 方式保護開發中的 WordPress 網站並
支援 Docker 及 Kubernetes (K8s) 的外掛。

外掛功能

 * 基本驗證的設定方式相當簡單
 * 基本驗證的執行方式類似 .htpasswd
 * 不需要 .htpasswd 便能保護開發中的網站或示範內容網站
 * 支援 Docker 及 Kubernetes (K8s)
 * 外掛相當輕量化

## 螢幕擷圖

 * [[
 * 基本驗證對話方塊
 * [[
 * 外掛設定頁面

## 安裝方式

 1. 在外掛安裝頁面上傳 `wp-basic-authentication.zip`
 2. 在 WordPress 管理後台的 [外掛] 選單中啟用外掛。
 3. 前往管理後台管理選單的 **[驗證]** 選單項目便可設定外掛。

## 常見問題集

### 如何設定這個外掛？

前往管理後台管理選單的 **[驗證]** 選單項目便可設定外掛。

### 如果忘記相關認證，該如何停用驗證功能？

透過 FTP 或命令列在 `wp-content/plugins` 目錄中重新命名 `wp-basic-authentication`
資料夾

### Password Migration (v1.1.0+)

If you’re updating from a version older than 1.1.0, your existing password will 
be automatically migrated to the new secure hashed format. You don’t need to change
your password – the plugin will handle this automatically and show you a success
message in the WordPress admin.

## 使用者評論

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

### 󠀁[Very useful plugin](https://wordpress.org/support/topic/very-useful-plugin-1554/)󠁿

 [WimScholtes](https://profiles.wordpress.org/wimscholtes/) 2024 年 6 月 12 日

Like the title says, a very useful and easy to use plugin. This was exactly what
I needed to make my blog only visible for some next to kin followers. Great job!
🙂

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

### 󠀁[Still working perfectly](https://wordpress.org/support/topic/still-working-perfectly/)󠁿

 [Sea Jay](https://profiles.wordpress.org/jcollier/) 2023 年 10 月 4 日

This plugin is still working perfectly, just as described.(Can you update the compatibility
version? It shows this on install: “Warning: This plugin has not been tested with
your current version of WordPress.”)

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

### 󠀁[Works perfectly](https://wordpress.org/support/topic/works-perfectly-2530/)󠁿

 [lighthaus205](https://profiles.wordpress.org/lighthaus205/) 2022 年 10 月 4 日

Works just as expected. Thanks a lot!

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

### 󠀁[Very Nicely Done](https://wordpress.org/support/topic/very-nicely-done-19/)󠁿

 [brokercarrier](https://profiles.wordpress.org/brokercarrier/) 2021 年 7 月 5 日

This plugin perfectly reproduces the functionality of .htpasswd on Apache. We needed
a solution like this for a website that is running on OpenLiteSpeed, and it works
perfectly. Thank you!

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

### 󠀁[Great for basic privacy](https://wordpress.org/support/topic/great-for-basic-privacy/)󠁿

 [Adam Blodgett](https://profiles.wordpress.org/epymetheus/) 2021 年 5 月 21 日

Plugin does what it promises: easy and quick HTTP-like authentication. Easy to install
and use.

 [ 閱讀全部 5 則使用者評論 ](https://wordpress.org/support/plugin/wp-basic-authentication/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈WP Basic Authentication〉的開發相關工作。

參與者

 *   [ nutttaro ](https://profiles.wordpress.org/nutttaro/)

〈WP Basic Authentication〉外掛目前已有 3 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/wp-basic-authentication/contributors)
為這個外掛做出的貢獻。

[將〈WP Basic Authentication〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/wp-basic-authentication)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/wp-basic-authentication/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/wp-basic-authentication/)，或
透過 [RSS](https://plugins.trac.wordpress.org/log/wp-basic-authentication/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/wp-basic-authentication/)。

## 變更記錄

#### 1.1.1

 * Fix small issue on setting page

#### 1.1.0

 * Hash password with automatic migration from older versions
 * Automatic password migration for users updating from pre-1.1.0 versions
 * Tested up to WordPress 6.9

#### 1.0.3

 * Tested up to WordPress 6.5
 * Separate protected frontend and wp-login page

#### 1.0.2

 * Tested up to WordPress 6.1.1
 * Add Tip me on ko-fi

#### 1.0.1

 * Tested up to WordPress 5.8.1

#### 1.0.0

 * Initial Release

## 中繼資料

 *  版本 **1.1.1**
 *  最後更新 **2 個月前**
 *  啟用安裝數 **2,000+**
 *  WordPress 版本需求 ** 5.7 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.9.4**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/wp-basic-authentication/)、
   [Dutch](https://nl.wordpress.org/plugins/wp-basic-authentication/)、[English (US)](https://wordpress.org/plugins/wp-basic-authentication/)、
   及 [Japanese](https://ja.wordpress.org/plugins/wp-basic-authentication/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/wp-basic-authentication)
 * 標籤
 * [authentication](https://tw.wordpress.org/plugins/tags/authentication/)[Basic auth](https://tw.wordpress.org/plugins/tags/basic-auth/)
   [protected](https://tw.wordpress.org/plugins/tags/protected/)
 *  [進階檢視](https://tw.wordpress.org/plugins/wp-basic-authentication/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  5 個 5 星使用者評論     ](https://wordpress.org/support/plugin/wp-basic-authentication/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/wp-basic-authentication/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/wp-basic-authentication/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/wp-basic-authentication/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/wp-basic-authentication/reviews/?filter=1)

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

[查看全部使用者評論](https://wordpress.org/support/plugin/wp-basic-authentication/reviews/)

## 參與者

 *   [ nutttaro ](https://profiles.wordpress.org/nutttaro/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/wp-basic-authentication/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://coff.ee/nutttaro)