20070905


Administrators need to carefully plan where passwords are applied to avoid opening inadvertent security holes. If your wiki is open (anyone can read and edit), this would not seem to be a concern, except, a malicious or confused user could apply a read password to a group and make the group completely unavailable to all other users. At the very least, even an open wiki should have a site-wide "admin" password and a site-wide "attr" password set in config.php. The sample-config.php file distributed with PmWiki indicates that the PmWiki and Main groups have "attr" locked by default, but if anyone creates a new group, "attr" is unlocked. Administrators must remember to set "attr" passwords for each new group (if desired) in this case. An easier solution is to include these lines in config.php :

 0: 00.00 00.00 config start
 1: 00.01 00.01 config end
 2: 00.21 00.20 MarkupToHTML begin
 3: 00.21 00.21 MarkupToHTML end
 4: 00.22 00.21 MarkupToHTML begin
 5: 00.23 00.22 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
 6: 00.23 00.22 ReadApprovedUrls SiteAdmin.ApprovedUrls end
 7: 00.24 00.23 MarkupToHTML end
 8: 00.24 00.23 MarkupToHTML begin
 9: 00.24 00.23 MarkupToHTML end
10: 00.24 00.23 now
Peak memory: 3,754,920 bytes