Title: HTTP Auth
Author: Sami Ahmed Siddiqui
Published: <strong>2016 年 2 月 18 日</strong>
Last modified: 2025 年 7 月 22 日

---

搜尋外掛

![](https://ps.w.org/http-auth/assets/banner-772x250.png?rev=1795783)

![](https://ps.w.org/http-auth/assets/icon.svg?rev=1785371)

# HTTP Auth

 由 [Sami Ahmed Siddiqui](https://profiles.wordpress.org/sasiddiqui/) 開發

[下載](https://downloads.wordpress.org/plugin/http-auth.1.0.1.zip)

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

 [技術支援](https://wordpress.org/support/plugin/http-auth/)

## 外掛說明

This plugin empowers you to set up HTTP Authentication for your website. This adds
an extra layer of security by requiring a username and password to access specific
areas.

Here’s how it benefits you:

 * **Enhanced Admin Security:** Shield your admin pages from brute-force attacks
   by adding a login barrier.
 * **Controlled Crawling:** Restrict crawlers from accessing your site during development,
   preventing unnecessary indexing.
 * **Post-Launch Access Control:** Maintain control over admin page access even 
   after your website goes live.
 * **Easy Activation/Deactivation:** Conveniently enable or disable HTTP Auth without
   deactivating the plugin entirely.

### Help Us Improve!

I am constantly working to enhance this plugin and your feedback is valuable. If
you are happy with the plugin, consider leaving a review on WordPress.org. Your 
positive feedback motivates us to keep improving!

Link to Reviews: https://wordpress.org/support/plugin/http-auth/reviews/?rate=5#
new-post

### Bug Reports

We welcome bug reports for HTTP Auth on GitHub: [https://github.com/samiahmedsiddiqui/http-auth](https://github.com/samiahmedsiddiqui/http-auth).
Please remember that GitHub is primarily for bug reporting, and issues not classified
as genuine bugs may be closed.

### From within WordPress

 1. Visit ‘Plugins > Add New’
 2. Search for HTTP Auth
 3. Activate HTTP Auth from your Plugins page.
 4. Go to “after activation” below.

### Manually

 1. Upload the `http-auth` folder to the `/wp-content/plugins/` directory
 2. Activate HTTP Auth through the ‘Plugins’ menu in WordPress
 3. Go to “after activation” below.

### After activation

 1. Go to the plugin settings page and set up the plugin for your site.
 2. You’re done!

## 安裝方式

This process defines you the steps to follow either you are installing through WordPress
or Manually from FTP.

## 使用者評論

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

### 󠀁[Seems to be working very well to me](https://wordpress.org/support/topic/seems-to-be-working-very-well-to-me/)󠁿

 [nipter](https://profiles.wordpress.org/nipter/) 2023 年 7 月 9 日

Thanks a lot for having made this nice and simple plugin!

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

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

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

I checked the “complete site” radio button, but the auth only appeared on the wp-
admin page. So the plugin is not working as advertised.

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

### 󠀁[Great Plugin, Great work](https://wordpress.org/support/topic/great-plugin-great-work-2/)󠁿

 [melissalee](https://profiles.wordpress.org/melissalee/) 2017 年 11 月 1 日

Great to see such a plugin available. Works like a charm and has more options than
I thought. I appreciate that!

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

### 󠀁[It Works For Me Perfect](https://wordpress.org/support/topic/it-works-for-me-perfect/)󠁿

 [sahir](https://profiles.wordpress.org/sahir1/) 2017 年 10 月 27 日

It Works For Me Perfect…. ThaNks.

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

### 󠀁[Best Plugin and Easy to use!](https://wordpress.org/support/topic/best-plugin-and-easy-to-use-2/)󠁿

 [chrintinecase](https://profiles.wordpress.org/chrintinecase/) 2017 年 10 月 2 
日

I was use this plugin on my website. It work good on my website. I’m very much satisfied
with this plugin.

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

### 󠀁[It’s simple and it works](https://wordpress.org/support/topic/its-simple-and-it-works-16/)󠁿

 [motokun](https://profiles.wordpress.org/motokun/) 2016 年 11 月 23 日

Generating .htaccess and .htpasswd by hand is pain. This little plugin does that
Admin UI is okay It’s simple Source code is GPL2 and is short enough, I reviewed
it and found no tricky things I’d better uninstall it when site goes live

 [ 閱讀全部 7 則使用者評論 ](https://wordpress.org/support/plugin/http-auth/reviews/)

## 參與者及開發者

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

參與者

 *   [ Sami Ahmed Siddiqui ](https://profiles.wordpress.org/sasiddiqui/)

[將〈HTTP Auth〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/http-auth)

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

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

## 變更記錄

#### 1.0.1 – Dec 23, 24

Fix minor WPCS issues and change text for better understanding.

#### 1.0.0 – July 28, 2023

    ```
    * Fix WPCS issues
    ```

#### Earlier versions

    ```
    * For the changelog of earlier versions, please refer to the separate changelog.txt file.
    ```

## 中繼資料

 *  版本 **1.0.1**
 *  最後更新 **10 個月前**
 *  啟用安裝數 **6,000+**
 *  WordPress 版本需求 ** 3.5 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.8.5**
 *  PHP 版本需求 ** 5.6 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/http-auth/)
 * 標籤:
 * [Brute Force](https://tw.wordpress.org/plugins/tags/brute-force/)[http auth](https://tw.wordpress.org/plugins/tags/http-auth/)
   [restrict site](https://tw.wordpress.org/plugins/tags/restrict-site/)
 *  [進階檢視](https://tw.wordpress.org/plugins/http-auth/advanced/)

## 評分

 4.2 星，滿分為 5 星

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

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

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

## 參與者

 *   [ Sami Ahmed Siddiqui ](https://profiles.wordpress.org/sasiddiqui/)

## 技術支援

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

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