Ip To User Mapping Plugin

authenticate users by IP address

There are times when you need to auto-login specific computers automatically - search engine indexers, Wiki Kiosks, special scripts, users that are not able to be created in your Enterprise LDAP for policy reasons or perhaps as a fallback if your centralised User system is temporarily unavailable.

This plugin makes it possible for your wiki admin to associate an IP address with a foswiki user account - note that this comes with a risk - anyone with access to that computer will be logged in as that user.

Any users that are auto-authenticated by IP address, should be put into a foswiki group to manage their permissions.

Also, please be careful to only give these mappings to ip addresses that are statically assigned.


Plugin preferences are set using configure.

an example setting:

$Foswiki::cfg{IpToUserMappingPlugin}{Mapping} = {
    '' => {login=>'one', wikiname=>'OneUser'},

When a request comes from a computer via the network interface (if that computer has more than one network card, it is likely to have more than one ip address), foswiki will consider it logged in as use OneUser - so you can create that topic in Main and set some preferences for that access. If the one user exists (by that login name) in the main user mapping system, the wikiname configure setting will be ignored.

For example, you might like to use the simpler Set SKIN=plain plain skin when indexing topics, so you only get hits on topic content.


You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server.

Open configure, and open the "Extensions" section. Use "Find More Extensions" to get a list of available extensions. Select "Install".

If you have any problems, or if the extension isn't available in configure, then you can still install manually from the command-line. See http://foswiki.org/Support/ManuallyInstallingExtensions for more help.


Author: SvenDowideit
Copyright: %$CREATEDYEAR%, SvenDowideit, All Rights Reserved
License: GPL (GNU General Public License)
Dependencies: None
Version: v1.0.0_001
Release: 30 May 2013
Change History:  
1.0.0 (%$CREATEDATE%): Initial version
Home: http://foswiki.org/Extensions/IpToUserMappingPlugin
Support: http://foswiki.org/Support/IpToUserMappingPlugin
Topic revision: r1 - 04.06.2013, UnknownUser
This site is powered by FoswikiCopyright &© by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Техническая поддержка? Send feedback