Media Wiki Security Concepts: Difference between revisions
Jump to navigation
Jump to search
(→sysop) |
|||
Line 8: | Line 8: | ||
=Reading= | =Reading= | ||
Disable reading by anonymous users: | |||
$wgGroupPermissions['*']['read'] = false; | |||
To allow anonymous users access to the login page: | |||
$wgWhitelistRead = array ("Special:Userlogin"); | |||
=Editing= | =Editing= |
Revision as of 18:17, 20 February 2018
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
Account Creation
Controlled by LocalSettings.php:
$wgGroupPermissions['*']['createaccount'] = false;
This prevents account creation by anyone (logged in or not), except by sysops.