Extension:NetworkAuth

This extension is intended to basically bind a username to a particular network address. The reason it was developed was to grant read access to a particular subnet on a Wiki that denied read access to anonymous users. The assumption is that there are certainly times when Physical security is enough to allow access to certain resources.

In this extension, ip ranges, ip regex patterns, or hostname patters are associated with a MediaWiki username. It is reccommended that you create an account specifically for this purpose. Multiple ranges/patterns can be associated with multiple users.

'''NOTE: Hostpatterns are relatively unreliable. Use at your own risk - often the lookup times out and you won't get a match.'''

Installation
wiki-install-folder/extensions/NetworkAuth
 * 1) Create a new folder (directory) in the following location:
 * 1) Download the following required files:
 * 2) *NetworkAuth.php
 * 3) *NetworkAuth.i18n.php
 * 4) Copy the files in to the new NetworkAuth folder
 * 5) Add the following code to your LocalSettings.php (at the bottom)
 * 6) * NOTE - settings for $wgNetworkAuthUsers[] are EXAMPLES ONLY!

Usage

 * 1) Follow Installation Instructions
 * 2) Users connecting from the specified network ranges will be authenticated (sort of) as the user associated with that range.