PmWiki has built-in support for password-protecting various areas of the wiki site. Authors generally want to be able to apply passwords to individual pages or to WikiGroups. Wiki Administrators can apply passwords to individual pages, to WikiGroups, or to the entire wiki site. As with any access control system, the password protection mechanisms described here are only a small part of overall system and wiki security. PmWiki.Security? will contain a more thorough discussion of possible issues.
You will generally use 3 types of passwords:
read
passwords
edit
passwords
attr
passwords
Note that if an attr
password isn't set, then anyone can alter the read
and edit
passwords.
To set a password on an individual wiki page, add ?action=attr
to the page's URL (address) to access its attributes. (You may be prompted for a username and password; the username field usually isn't used by PmWiki.) Using the small form on the attributes page, you can set or clear the read
, edit
, or attr
passwords on the page. In the form you enter the passwords as cleartext; PmWiki encrypts them for you automatically.
To set a password on a wiki group is slightly more difficult--you just set the passwords on a special page in each group called "GroupAttributes". You can get to the attributes page for GroupAttributes by entering a URL (address) like http://www.example.com/pmwiki?n=GroupName.GroupAttributes?action=attr
. Then, using the small form on the attributes page, you can set or clear the read
, edit
, or attr
passwords for the entire group. In the form you enter the passwords as cleartext; PmWiki encrypts them for you automatically.
You can set passwords on pages and groups exactly as described above for authors. You can also:
attr
passwords to control who is able to set passwords on pages (and potentially other future attributes)
upload
passwords to control access to the file upload capabilities (if uploads are enabled)
admin
password to override the passwords set for any individual page or group
For more information on password options available to administrators, see PmWiki.PasswordsAdmin.
In PmWiki, page passwords override group passwords, group passwords override the default passwords, and the admin
password overrides all passwords. This gives a great deal of flexibility in controlling access to wiki pages in PmWiki.
<< WikiGroups | PmWiki.DocumentationIndex | WikiTrails >>