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!


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to