Title: Limit Access WP Plugin
Author: owenconti
Published: <strong>2012 年 1 月 12 日</strong>
Last modified: 2012 年 11 月 11 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/limit-access.svg)

# Limit Access WP Plugin

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

[下載](https://downloads.wordpress.org/plugin/limit-access.zip)

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

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

## 外掛說明

The Limit Access WP Plugin is a simple plugin that limits the number of IPs that
can be accessing an account at the same time.

Eg. If $allowedIPs is set to 3, the account “JohnDoe” can be logged into from three
separate IPs. When the the account is accessed the fourth time, the user will be
logged out and redirected to a custom page made by you.

If you have any questions or problems with the plugin, please let me know!

## 安裝方式

 1. Install the plugin via automatic method or manual upload method
 2.  a. Create a new page with a slug name: “limited-access”;
     b. Edit this “limited-access” page to have a message for the user for when they get
        logged out.
     c. Activate the plugin.
     d. Congrats you’re done!

Example:

    ```
    Settings:  $allowedIPs = 3;

    The account, "test_user" can be logged in from 3 different IPs, but when the fourth instance is accessed, the user will be logged out and redirected to a page explaining what happened. 
    ```

You have the ability to change the number of allowed IPs, the time each record is
stored in the database, and if there are special circumstances for certain users.

Lines for settings:

    ```
    To change the allowed number of IPs:        line 9;
    To change the time each record is stored:       line 21;
    To alter special circumstances, per user:       line 44 - 50;

    You can add multiple special users by using the OR operator. Eg:

        if ( $user_login == 'admin' || $user_login == 'joe' ) {
            exit;
        }
    ```

## 常見問題集

  Why use this plugin?

If you have ever had the need to limit only X-amount of sessions per user, per IP
on a WP site, this plugin will do it for you!

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

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

參與者

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

[將〈Limit Access WP Plugin〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/limit-access)

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

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

## 變更記錄

#### 1.0

 * Initial build

#### 1.1

 * Updated the README

## 中繼資料

 *  版本 **1.0**
 *  最後更新 **14 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 3.2 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.2.1**
 *  語言
 * [English (US)](https://wordpress.org/plugins/limit-access/)
 * 標籤:
 * [accounts](https://tw.wordpress.org/plugins/tags/accounts/)[limit](https://tw.wordpress.org/plugins/tags/limit/)
   [multiple](https://tw.wordpress.org/plugins/tags/multiple/)[sessions](https://tw.wordpress.org/plugins/tags/sessions/)
   [users](https://tw.wordpress.org/plugins/tags/users/)
 *  [進階檢視](https://tw.wordpress.org/plugins/limit-access/advanced/)

## 評分

 5 星，滿分為 5 星

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

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

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

## 參與者

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

## 技術支援

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

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