Extension:NetworkAuth

NetworkAuth 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
$IP/extensions/NetworkAuth
 * 1) Create a new folder (directory) in the following location:
 * 1) Download the extension
 * 2) Copy the files in to the new NetworkAuth folder
 * 3) Add the following code to your LocalSettings.php (at the bottom)
 * 4) * 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.