[pmwiki-users] password protection

Patrick R. Michaud pmichaud at pobox.com
Thu Feb 17 18:00:22 CST 2005


On Fri, Feb 18, 2005 at 12:41:58PM +1300, lee marrett wrote:
> hi there,
> 
> having read through the documentation i am still struggling to figure out  
> how to password protect my wiki.
> 
> basically i want the wiki to be editable only by people who have the  
> password, and ideally they should only be asked the password once at the  
> start of every session.
>
> is this possible?

Yes.  If you want to protect all pages with a common password, simply
add the following to your local/config.php:

    $DefaultPasswords['edit'] = crypt('secret');
    $DefaultPasswords['attr'] = crypt('secret');

Change 'secret' to be whatever you want the shared password to be.

Pm



More information about the pmwiki-users mailing list