Title: Limit Access WP Plugin
Author: owenconti
Published: <strong>12. januar, 2012</strong>
Last modified: 11. november, 2012

---

Søg plugins

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

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

# Limit Access WP Plugin

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

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

 * [Detaljer](https://da.wordpress.org/plugins/limit-access/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/limit-access/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/limit-access/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/limit-access/#developers)

 [Support](https://wordpress.org/support/plugin/limit-access/)

## Beskrivelse

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!

## Installation

 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;
        }
    ```

## FAQ

  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!

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“Limit Access WP Plugin” er open source-software. Følgende personer har bidraget
til dette plugin.

Bidragsydere

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

[Oversæt “Limit Access WP Plugin” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/limit-access)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/limit-access/), tjek
[SVN repository](https://plugins.svn.wordpress.org/limit-access/), eller abonner
på [udviklerloggen](https://plugins.trac.wordpress.org/log/limit-access/) via [RSS](https://plugins.trac.wordpress.org/log/limit-access/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 1.0

 * Initial build

#### 1.1

 * Updated the README

## Meta

 *  Version **1.0**
 *  Senest opdateret **14 år siden**
 *  Aktive installationer **10+**
 *  WordPress-version ** 3.2 eller højere **
 *  Testet op til **3.2.1**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/limit-access/)
 * Tags
 * [accounts](https://da.wordpress.org/plugins/tags/accounts/)[limit](https://da.wordpress.org/plugins/tags/limit/)
   [multiple](https://da.wordpress.org/plugins/tags/multiple/)[sessions](https://da.wordpress.org/plugins/tags/sessions/)
   [users](https://da.wordpress.org/plugins/tags/users/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/limit-access/advanced/)

## Bedømmelser

 5 ud af 5 stjerner.

 *  [  1 5-stjernet anmeldelse     ](https://wordpress.org/support/plugin/limit-access/reviews/?filter=5)
 *  [  0 4-stjernet anmeldelser     ](https://wordpress.org/support/plugin/limit-access/reviews/?filter=4)
 *  [  0 3-stjernet anmeldelser     ](https://wordpress.org/support/plugin/limit-access/reviews/?filter=3)
 *  [  0 2-stjernet anmeldelser     ](https://wordpress.org/support/plugin/limit-access/reviews/?filter=2)
 *  [  0 1-stjernet anmeldelser     ](https://wordpress.org/support/plugin/limit-access/reviews/?filter=1)

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

[Se alle anmeldelser.](https://wordpress.org/support/plugin/limit-access/reviews/)

## Bidragsydere

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

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/limit-access/)