Jump to content

ICT:Account protection

From Costa Sano MediaWiki
Revision as of 18:23, 9 February 2026 by Mngr (talk | contribs)

Infrastructure Overview

This wiki is configured as a Private Research Platform. Access is managed via a "Deny-by-Default" policy, using MediaWiki core permissions for global locks and the Extension:Lockdown for granular namespace security.

1. System Account Security

  • MediaWiki default:
    • Status: Internal System User.
    • Security: No password exists; interactive login is impossible.
    • Role: Attributes automated software edits.
  • Sysop Accounts:

2. Global Hardening (LocalSettings.php)

The following core settings enforce the private nature of the wiki:

# Disable public access and registration
$wgGroupPermissions['*']['read'] = false;
$wgGroupPermissions['*']['edit'] = false;
$wgGroupPermissions['*']['createaccount'] = false;

# The Whitelist: Essential for the Login Screen
# Without these, the login page becomes inaccessible (Loop Error)
$wgWhitelistRead = [
    "Special:UserLogin",
    "MediaWiki:Common.css",
    "MediaWiki:Common.js"
];

3. Namespace Lockdown Logic

While `$wgGroupPermissions` locks the door, Extension:Lockdown manages the internal rooms.

  • ICT: Namespace: Restricted to the `sysop` group.
  • Research/Dashboard Namespaces: Access granted to `user` (fellows) and `sysop`.
  • Sysop Rights: As per Lockdown documentation, sysops retain visibility across all restricted namespaces unless explicitly revoked.

4. Successor Checklist

  1. Emergency Access: If locked out, set `$wgGroupPermissions['*']['read'] = true;` temporarily in LocalSettings.php.
  2. New Namespaces: Any new namespace created for research must be added to the Lockdown array to remain private.
  3. Auditing: Use Special:ListUsers monthly to ensure no "shadow" human accounts have been created.