2009/4/21 Karl Schilke <[email protected]>:
> Is there a simple way to provide a page that is world-readable (i.e.
> no 'read' password), but requires authentication to download
> attachments on this page?

Try this in a config file, before any attachment-accessing recipes:

$HandleAuth['download'] = 'edit';

For completely separate download authentication, something like this
should work (not tested, mind):

$HandleAuth['download'] = 'download';
$PageAttributes['passwddownload'] = '$[Set new download password:]';
$AuthCascade['download'] = 'read';

The idea here would be to add another password that you can set in
action=attr that if not set defaults to read permissions. Assuming
that I've understood how $AuthCascade works, which is not at all
certain.

eemeli

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

Reply via email to