Hi Hans,

* On 2009-10-02 Hans ([email protected]) wrote:
> [...]
> > My suggestion was to override the global passwords (from config.php)
> > in a page customization file (say Main.Test.php for page Main.Test).
> 
> I think it is unwise to set any default password
> in a page or group customisation file, because
> a page protected in such a way will not be protected if it is for
> instance included by another page.
> To have proper protection for an individual page its
> password attributes need to be set in the page with action=attr,
> or for the group in the GroupAttributes page with action=attr.
> Do not use a page customization php file for this!

I agree. That was why I wrote in my first post on this topic:

* On 2009-10-01 Christian Bartolomaeus ([email protected]) wrote:
> [...]
> > I'm actually looking for a way to do this from config.php, rather
> > than ?action=attr.
> 
> I don't know of a way to do that via the main configuration file
> config.php. But I think you can use a page customization file -- tough
> it is not recommended to set passwords in this way. Please take a look
> at
>   
>   http://pmwiki.org/wiki/PmWiki/GroupCustomizations 
> 
> for an explanation why it's not advised to set passwords via a page
> customization file. [...]

Best regards

Christian

Attachment: signature.asc
Description: Digital signature

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

Reply via email to