Media Wiki Security Concepts: Difference between revisions
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
=External= | |||
* https://www.mediawiki.org/wiki/Manual:Preventing_access#Simple_private_wiki | |||
=Internal= | =Internal= | ||
Revision as of 18:19, 20 February 2018
External
Internal
Overview
sysop
Reading
Disable reading by anonymous users:
$wgGroupPermissions['*']['read'] = false;
To allow anonymous users access to the login page:
$wgWhitelistRead = array ("Special:Userlogin");
Editing
Disable anonymous editing:
$wgGroupPermissions['*']['edit'] = false;
Account Creation
Controlled by LocalSettings.php:
$wgGroupPermissions['*']['createaccount'] = false;
This prevents account creation by anyone (logged in or not), except by sysops.