.
|
< Notify | Documentation Index | Ref count > Pm Wiki 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. Authors can use Pm Wiki to add passwords to individual pages and Wiki Groups as described in PmWiki.Passwords. However, WikiAdministrators can also set passwords in local customization files as described below. Pm Wiki supports several levels 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)
if uploads are enabled, upload passwords control uploading of files and attachments
Finally, there is an Pages have their passwords as "page attributes" that are accessed by using ?action=attr at the end of a URL. Group passwords are held in a special page called "Group Attributes?" for each group. Global site-wide passwords are controlled by the By default, To set the site-wide admin password to " Of course, as written here anyone able to view config.php would immediately know the site's password, so some sites would like it to be encrypted in the config.php file as well. Add $1$hMMhCdfT$mZSCh.BJOidMRn4SOUUSi1 (it may be different on your system). This string can then be put directly into config.php as: $DefaultPasswords['admin'] = '$1$hMMhCdfT$mZSCh.BJOidMRn4SOUUSi1'; Note that in the encrypted form the crypt keyword and parentheses are removed, since the password is already encrypted. Also, the encrypted password must be
in single quotes. In this example the password is still " Similarly, you can set To remove a site password entirely, such as the default locked password for uploads, just set it to empty: In Pm Wiki, page passwords override group passwords, group passwords override the default passwords, and the admin password always allows access. This gives a great deal of flexibility in controlling access to wiki pages in Pm Wiki. You can also use the special password "nopass" (defined by the To use Pm Wiki itself to set passwords on individual wiki pages and WikiGroups via Category: Passwords << Notify | Pm Wiki.Documentation Index | Ref count >> < Notify | Documentation Index | Ref count > This page may have a more recent version on pmwiki.org: PmWiki:PasswordsAdmin, and a talk page: PmWiki:PasswordsAdmin-Talk. |