[pmwiki-users] DefaultPassword['edit']

Randy Brown randy at brownragfilms.com
Fri May 2 14:11:44 CDT 2008


Yes, that will protect the page from editing. To verify that: try  
putting the line you suggested in your address bar!

You can also put ?action=crypt on any pmwiki page to get a form that  
lets you create an encrypted password. Then you can put the encrypted  
password in the config.php, so the original won't be visible to anyone  
with access to config.php. Of course, then you have to remember the  
password.

For more info about passwords see:
http://www.pmwiki.org/wiki/PmWiki/Passwords

Randy

On May 2, 2008, at 2:01 PM, Robert Thomas beau Hayes Link wrote:

> Will adding:
>
> $DefaultPasswords['edit'] = crypt('edit_password');
>
> to my config.php prevent accessing the edit page via the address bar,
> say by typing
>
> http://foo.org/pmwiki/pmwiki.php?n=Main.HomePage?action=edit
>
> ?
>
> Very new to this; can't have _any_ outsiders making changes.  All
> pointers appreciated!




More information about the pmwiki-users mailing list