Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.atnf.csiro.au/research/pulsar/new/index.php?n=PmWiki.Passwords
Дата изменения: Unknown
Дата индексирования: Tue Apr 12 20:59:52 2016
Кодировка:

Поисковые слова: совершенный газ
Pulsar group | PmWiki / Passwords

Group

Projects

Observing

Processing

  1. Tempo2 wiki
  2. Updating clock files
  3. Updating ut1.dat

Data Archive

Multimedia

External Links


edit SideBar

Passwords

authors 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 wiki groups. Wiki Administrators can apply passwords to individual pages, to wiki groups, or to the entire site. As with any access control system, the password protection mechanisms described here are only a small part of overall system and wiki security.

As an author editing pages...

An author will generally set 3 types of passwords:

  1. to control who can see a page or group, use read passwords
  2. to control who can edit a page or group, use edit passwords
  3. to control who can alter the passwords used to protect a page or group, use attr passwords

To set a password on an individual wiki page, add ?action=attr to the page's URL (address) to access its attributes. Using the 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 when it stores them.

  • Leaving a field blank will leave the attribute unchanged.
  • To remove a password from a page (reverting back to the group's or site's default), enter "clear".
  • To indicate that the page can be edited even if a group or site password is set, enter "@nopass".
  • To lock a page for everybody but the admin, enter "@lock".
  • To assign the site's site-wide edit-password to the read, edit, or attr password for the page, enter "@_site_edit".

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". First, you can get to the attributes page for GroupAttributes by entering a URL (address) like http://www.example.com/pmwiki.php?n=GroupName.GroupAttributes?action=attr. Then, using the 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.

  • To remove a password from a group (reverting back to the site's default), enter "clear".
  • To indicate that the group can be edited even if a site password is set, enter "@nopass".
  • To lock a group for everybody but the admin, enter "@lock".

Multiple passwords for a page, group or site are allowed. Simply enter multiple passwords separated by a space. This allows you to have a read password, a write password, and have the write password allow read/write access. In other words, if the read password is "alpha" and the edit password is beta, then enter

Set new read password: alpha beta
Set new edit password: beta

This says that either "alpha" or "beta" can be used to read pages, but only "beta" may edit. Since PmWiki checks the passwords you've entered since the browser has been opened, entering a read password that is also a write password allows both reading and writing.

administrator

As an administrator ...

You can set passwords on pages and groups exactly as described above for authors. You can also:

  1. set site-wide passwords for pages and groups that do not have passwords
  2. use attr passwords to control who is able to set passwords on pages
  3. use upload passwords to control access to the file upload capabil