[pmwiki-users] How do I only let authorized users edit pages?
John M. Gabriele
john_sips_tea at yahoo.com
Sun Jul 24 17:52:49 CDT 2005
--- Hans <design at flutesong.fsnet.co.uk> wrote:
> Sunday, July 24, 2005, 10:52:00 PM, John wrote:
>
> > How about this: can I just make it so only the admin can edit
> > pages? That's ok for now, since I'm the only one editing pages
> > right now. In a few months though it'll turn into a pain.
>
> To set a sitewide edit password set in local/config.php:
>
> $DefaultPassword['edit'] = crypt('mysecret');
s/DefaultPassword/DefaultPasswords/ I think.
> (replace 'mysecret' with your password).
>
> See http://www.pmwiki.org/wiki/PmWiki/PasswordsAdmin
Ok, I tried it, and I made a small update to
http://www.pmwiki.org/wiki/PmWiki/PasswordsAdmin
but my page still lets me make a change without having to
type in a password. Why isn't it asking me for a password?
Do I need to restart something?
> To authenticate specific users (associate a login name with a
> password) and add them to be allowed to edit pages,
> see http://www.pmwiki.org/wiki/Cookbook/AuthUser
Ok, added that to the end of PasswordsAdmin also.
> scripts/authuser.php is pmwiki's build in script for user
> authentification, providing a login form with name and password
> fields.
It sounds like there's a lot more to it than that. (?)
It almost makes it sound like pmwiki has that notion of users
with passwords... but I'm not seeing anything like that in pmwiki
except for that cookbook AuthUser thing.
> > Also -- is my cookbook directory supposed to be empty?
> > Do I manually add "recipes" as-needed?
>
> Yes, the cookbook directory is just a convenient place to gather
> additional recipe scripts, apart from pmwiki's own scripts, which are
> in the scripts/ directory.
Ok, updated http://pmwiki.org/wiki/Cookbook/Cookbook
Could you please check my update (only the first para on the page) for
correctness. I really like things spelled out in plain language. :)
> Hope this helps a little to point to the initial study of the complex
> issue of passwords and user authentication.
>
>
> Best,
> ~Hans
>
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
More information about the pmwiki-users
mailing list