[pmwiki-users] Page question
Hans
design5 at softflow.co.uk
Mon Jun 23 12:21:40 CDT 2008
Monday, June 23, 2008, 5:34:55 PM, Mailinglists wrote:
> That is what I was thinking I could do, but I guess you saying the
> password is not exposed for use in a conditional without modification?
> This is low security situation. It is just something to make the
> client feel special and give a small sense of privacy. We just put
> proofs and samples on these pages, nothing sensitive.
PmWiki does not expose passwords in clear text, usually, for obvious
reasons. so i would not recommend creating a conditional for it, as
this would require you to expose all the passwords in the page text.
Rather do the redirections via config.php. for instance like this:
if (isset($_POST['authpw'])) {
switch ($_POST['authpw']) {
case 'abcdefg' : Redirect('Profiles.ClientA');
case '123xyz' : Redirect('Profiles.ClientB');
# etc. for all password choices
}
}
~Hans
More information about the pmwiki-users
mailing list