badminton club heiligenhaus
|
24.11.2024 10:21 Uhr | bch / AuthUser |
Home |
This is the default configuration page for PmWiki's identity-based authorizations (aka "authuser"). AuthUser is a very flexible system for managing access to pages, but with flexibility can also come complexity. We'll try to walk through it here. At present this site doesn't appear to have the authuser extensions enabled. To enable them, add the line AuthenticationAuthentication from external sources (uncomment out appropriate line(s)): # htpasswd: /filesystem/path/to/.htpasswd # ldap: ldap://ldap.example.com/ou=People,o=example?uid?sub # mysql: mysql://[username:password]@localhost/db/table?user,passwd Usernames and encrypted passwords specified directly (encrypted strings can be obtained from ?action=crypt: # alice: $1$NHrURcZQ$QexZSitx4bmFQmmFOVQmG. ("alicesecret") # bob: $1$kai8n1r0$srMjkIR8oUR.fvSGGP7LZ/ ("bobsecret") AuthorizationTo authorize individuals to specific pages or groups, use " To allow any authenticated person, use " $DefaultPasswords['read'] = 'id:*'; $DefaultPasswords['edit'] = 'id:alice id:bob'; $DefaultPasswords['admin'] = 'id:alice'; Authorization groupsThis page can be used to define custom authorization groups (indicated by a leading "@" sign): # @editors: alice,bob # charlie: @editors,@visitors # @admins: alice, dave To restrict a page or group of pages to an authorization group, use "@group" as a password in $DefaultPasswords['edit'] = '@editors'; $DefaultPasswords['admin'] = '@admins'; |
Validate the XHTML and CSS of this page. | Zuletzt geändert am 29.11.2005 19:30 Uhr | |
Powered by PmWiki |