has built-in support for password-protecting various areas of the wiki site. Passwords can be applied to individual pages, to WikiGroups
, or to the entire wiki site. Note that the password protection mechanisms described here are only a small part of overall system (and wiki) security, see PmWiki.Security?
for more discussion of this.
PmWiki supports multiple types of access to wiki pages:
read passwords allow viewing the contents of wiki pages
edit passwords control editing and modification of wiki pages
attr passwords control who is able to set passwords on pages (and potentially other future attributes)
upload passwords control access to the file upload capabilities (if uploads are enabled)
Finally, there is an
access for the entire wiki site that allows an administrator to override the passwords set for any individual page or group.
To set a password on an individual wiki page, add
to the page's URL (address) to access its attributes. You may be prompted for a username and password; the username field isn't used by PmWiki. You can enter either an
password or you can enter the
password in effect for that page. From the attributes page you can then set or clear the
passwords on the page. In the attributes form you enter the passwords as cleartext; PmWiki will encrypt them for you automatically.
To set passwords for an entire Wiki Group
, edit the attributes of the Group Attributes
page within the group. For example, to change the attributes for the PmWiki group you would modify the attributes of PmWiki.Group Attributes
In PmWiki, page passwords override group passwords, group passwords override the default passwords, and the
password overrides all passwords. This gives a great deal of flexibility in controlling access to wiki pages in PmWiki.
The special password "nopass" can be used to create non-password protected pages within password-protected groups, or a non-password protected group within a password-protected site.
By default, PmWiki is configured with empty
passwords for the whole site (allowing anyone to view or edit pages), the
password is locked for the Main and PmWiki groups, and the
password is locked entirely. For more information on setting the
or global site passwords, see PmWiki.Passwords Admin
<< WikiGroups | PmWiki.Documentation Index | Wiki Trails >>