Media Wiki Security Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 42: Line 42:
This prevents account creation by anyone (logged in or not), except by [[#sysop|sysops]].
This prevents account creation by anyone (logged in or not), except by [[#sysop|sysops]].


=<span id='#Administrator_Account'></span>Administrator=
=User=
The username of the wiki administrator. Spaces are accepted ("John Doe").
The Media Wiki users, including [[#Administrator|administrators]] are maintained in the database in the <code>user</code> table.
 
==<span id='#Administrator_Account'></span>Administrator==
<font color=darkkhaki>
The username of the wiki administrator. Spaces are accepted ("John Doe"). A user is administrator by belonging to the <code>sysop</group>. The association is maintained in the <code>user_groups</code> table.
Where is it maintained? Database?
 
How can I find the old username and password values when restoring a site?
</font>
==Administrator Account Email Address==
==Administrator Account Email Address==

Revision as of 02:18, 30 December 2023

External

Internal

Overview

sysop

User Rights Profile

https://www.mediawiki.org/wiki/Manual:User_rights

Open wiki

The Open wiki model allows anyone to edit, without even logging in.

Account creation required

A wiki with "Account creation required" provides extra accountability, but may deter casual contributors.

Authorized editors only

The "Authorized editors only" scenario allows approved users to edit, but the public can view the pages, including history.

Private wiki

A "Private wiki" only allows approved users to view pages, with the same group allowed to edit. A user that does not authenticate is not allowed to access anything on the server.

Reading

Disable reading by anonymous users:

$wgGroupPermissions['*']['read'] = false;

To allow anonymous users access to the login page:

$wgWhitelistRead = array ("Special:Userlogin");

Editing

Controlled by LocalSettings.php. To 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.

User

The Media Wiki users, including administrators are maintained in the database in the user table.

Administrator

The username of the wiki administrator. Spaces are accepted ("John Doe"). A user is administrator by belonging to the sysop</group>. The association is maintained in the user_groups table.

Administrator Account Email Address