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.00 00.00 config end
 2: 00.03 00.02 MarkupToHTML begin
 3: 00.04 00.03 MarkupToHTML end
 4: 00.04 00.04 MarkupToHTML begin
 5: 00.05 00.04 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
 6: 00.05 00.05 ReadApprovedUrls SiteAdmin.ApprovedUrls end
 7: 00.06 00.05 MarkupToHTML end
 8: 00.06 00.05 MarkupToHTML begin
 9: 00.06 00.06 MarkupToHTML end
10: 00.06 00.06 now
Peak memory: 3,120,088 bytes