Changeset 519 for branches/Release04x02/data/TWiki
- Timestamp:
- 11/10/08 12:37:44 (4 years ago)
- Location:
- branches/Release04x02/data/TWiki
- Files:
-
- 1 deleted
- 17 edited
- 1 copied
-
. (modified) (1 prop)
-
DefaultPreferences.txt (modified) (1 prop)
-
MetaData.txt (modified) (1 prop)
-
PresentationTemplates.txt (modified) (1 prop)
-
ShortcutMacros.txt (modified) (1 prop)
-
TWikiAccessControl.txt (modified) (6 diffs)
-
TWikiDocumentation.txt (modified) (1 diff)
-
TWikiInstallationGuide.txt (modified) (2 diffs)
-
TWikiReferenceManual.txt (modified) (1 diff)
-
TWikiUserAuthentication.txt (deleted)
-
UserAuthentication.txt (copied) (copied from trunk/core/data/TWiki/UserAuthentication.txt)
-
VarAUTHREALM.txt (modified) (1 diff)
-
VarLOGIN.txt (modified) (1 diff)
-
VarLOGOUT.txt (modified) (1 diff)
-
VarSESSIONID.txt (modified) (1 diff)
-
VarSESSIONVAR.txt (modified) (1 diff)
-
VarSESSIONVARIABLE.txt (modified) (1 diff)
-
VarUSERINFO.txt (modified) (1 diff)
-
VarUSERNAME.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/Release04x02/data/TWiki
- Property svn:mergeinfo changed
/trunk/core/data/TWiki merged: 518
- Property svn:mergeinfo changed
-
branches/Release04x02/data/TWiki/DefaultPreferences.txt
- Property svn:mergeinfo changed
/trunk/core/data/TWiki/DefaultPreferences.txt merged: 518
- Property svn:mergeinfo changed
-
branches/Release04x02/data/TWiki/MetaData.txt
- Property svn:mergeinfo changed
/trunk/core/data/TWiki/MetaData.txt merged: 518
- Property svn:mergeinfo changed
-
branches/Release04x02/data/TWiki/PresentationTemplates.txt
- Property svn:mergeinfo changed
/trunk/core/data/TWiki/PresentationTemplates.txt merged: 518
- Property svn:mergeinfo changed
-
branches/Release04x02/data/TWiki/ShortcutMacros.txt
- Property svn:mergeinfo changed
/trunk/core/data/TWiki/ShortcutMacros.txt merged: 518
- Property svn:mergeinfo changed
-
branches/Release04x02/data/TWiki/TWikiAccessControl.txt
r491 r519 5 5 _Restricting read and write access to topics and webs, by Users and groups_ 6 6 7 TWiki Access Control allows you restrict access to single topics and entire webs, by individual user and by user Groups. Access control, combined with TWikiUserAuthentication, lets you easily create and manage an extremely flexible, fine-grained privilege system.7 TWiki Access Control allows you restrict access to single topics and entire webs, by individual user and by user Groups. Access control, combined with UserAuthentication, lets you easily create and manage an extremely flexible, fine-grained privilege system. 8 8 9 9 __%T% Tip:__ TWiki:TWiki.TWikiAccessControlSupplement on TWiki.org has additional documentation on access control. … … 31 31 ---++ Authentication vs. Access Control 32 32 33 *Authentication:* Identifies who a user is based on a login procedure. See TWikiUserAuthentication.33 *Authentication:* Identifies who a user is based on a login procedure. See UserAuthentication. 34 34 35 35 *Access control:* Restrict access to content based on users and groups once a user is identified. … … 206 206 ---+++ Restrict Access to Whole TWiki Site 207 207 208 For a firewalled TWiki, e.g. an intranet wiki or extranet wiki, you want to allow only invited people to access your TWiki. In this case, enable [[ TWikiUserAuthentication#ApacheLogin][user authentication with ApacheLogin]] and lock down access to the whole =twiki/bin= and =twiki/pub= directories to all but valid users. In the Apache =.htaccess= file or the appropriate =.conf= file, replace the =<FilesMatch "(attach|edit|...= section with this:208 For a firewalled TWiki, e.g. an intranet wiki or extranet wiki, you want to allow only invited people to access your TWiki. In this case, enable [[UserAuthentication#ApacheLogin][user authentication with ApacheLogin]] and lock down access to the whole =twiki/bin= and =twiki/pub= directories to all but valid users. In the Apache =.htaccess= file or the appropriate =.conf= file, replace the =<FilesMatch "(attach|edit|...= section with this: 209 209 210 210 <verbatim> … … 220 220 ---+++ Authenticate all Webs and Restrict Selected Webs 221 221 222 Use the following setup to authenticate users for topic viewing in all webs and to restrict access to selected webs. Requires TWikiUserAuthentication to be enabled.222 Use the following setup to authenticate users for topic viewing in all webs and to restrict access to selected webs. Requires UserAuthentication to be enabled. 223 223 224 224 1. Set =require valid-user= on your =view= script in .htaccess or the appropriate Apache .conf file. As of 4.x, this looks like: =FilesMatch "(attach|edit|manage|rename|save|view|upload|mail|logon|.*auth).*"= (normally =view= is not in that list). … … 231 231 ---+++ Authenticate and Restrict Selected Webs Only 232 232 233 Use the following setup to provide unrestricted viewing access to open webs, with authentication only on selected webs. Requires TWikiUserAuthentication to be enabled.233 Use the following setup to provide unrestricted viewing access to open webs, with authentication only on selected webs. Requires UserAuthentication to be enabled. 234 234 235 235 1. *Restrict* view access to selected Users and Groups. Set one or both of these variables in its %WEBPREFSTOPIC% topic: … … 252 252 %STOPINCLUDE% 253 253 254 __Related Topics:__ AdminDocumentationCategory, TWikiUserAuthentication, TWiki:TWiki.TWikiAccessControlSupplement255 254 __Related Topics:__ AdminDocumentationCategory, UserAuthentication, TWiki:TWiki.TWikiAccessControlSupplement 255 -
branches/Release04x02/data/TWiki/TWikiDocumentation.txt
r489 r519 24 24 25 25 ------ 26 %INCLUDE{" TWikiUserAuthentication"}%26 %INCLUDE{"UserAuthentication"}% 27 27 28 28 [[#PageTop][Back to top]] -
branches/Release04x02/data/TWiki/TWikiInstallationGuide.txt
r491 r519 89 89 ---++ Enable Authentication of Users 90 90 91 This step provides for site access control and user activity tracking on your TWiki site. __This is particularly important for sites that are publicly accessible on the web.__ This guide describes only the most common of several possible authentication setups for TWiki and is suitable for public web sites. For information about other setups, see =%SYSTEMWEB%. TWikiUserAuthentication=, and TWiki:TWiki.TWikiUserAuthenticationSupplement.91 This step provides for site access control and user activity tracking on your TWiki site. __This is particularly important for sites that are publicly accessible on the web.__ This guide describes only the most common of several possible authentication setups for TWiki and is suitable for public web sites. For information about other setups, see =%SYSTEMWEB%.UserAuthentication=, and TWiki:TWiki.UserAuthenticationSupplement. 92 92 93 93 These are the steps for enabling "Template Login" which asks for a username and password in a web page, and processes them using the Apache 'htpasswd' password manager. Users can log in and log out. … … 101 101 1 Edit a topic (by clicking on the =Edit= link at beginning or end of topic) to check if authentication works. 102 102 103 You are strongly encouraged to read =%SYSTEMWEB%. TWikiUserAuthentication=, TWiki:TWiki.TWikiUserAuthenticationSupplement, and TWiki:TWiki.SecuringTWikiSite for further information about managing users and security of your TWiki site.103 You are strongly encouraged to read =%SYSTEMWEB%.UserAuthentication=, TWiki:TWiki.UserAuthenticationSupplement, and TWiki:TWiki.SecuringTWikiSite for further information about managing users and security of your TWiki site. 104 104 105 105 *Note!* The other =LoginManager= option =TWiki::LoginManager::ApacheLogin= uses a basic Apache type authentication where the browser itself prompts you for username and password. Most will find the !TemplateLogin looking nicer. But !ApacheLogin is required when you use Apache authentication methods like mod_ldap where all authentication is handled by an Apache module and not by the TWiki perl code. When you use !ApacheLogin the apache configuration must be set up to require authentication of the some but not all the scripts in the bin directory. This section in the Apache config (or .htaccess) controls this -
branches/Release04x02/data/TWiki/TWikiReferenceManual.txt
r489 r519 12 12 1. [[TWikiInstallationGuide][TWiki Installation Guide]] 13 13 1. [[TWikiUpgradeGuide][TWiki Upgrade Guide]] 14 1. [[ TWikiUserAuthentication][TWiki User Authentication]]14 1. [[UserAuthentication][TWiki User Authentication]] 15 15 1. [[TWikiAccessControl][TWiki Access Control]] 16 16 1. [[TextFormattingRules][Text Formatting Rules]] -
branches/Release04x02/data/TWiki/VarAUTHREALM.txt
r481 r519 6 6 * Syntax: =%<nop>AUTHREALM%= 7 7 * Expands to: %AUTHREALM% 8 * Related: TWikiUserAuthentication, [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSESSIONID][SESSIONID]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSESSIONVAR][SESSIONVAR]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarLOGIN][LOGIN]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarLOGOUT][LOGOUT]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSESSION_VARIABLE][SESSION_VARIABLE]]8 * Related: UserAuthentication, [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSESSIONID][SESSIONID]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSESSIONVAR][SESSIONVAR]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarLOGIN][LOGIN]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarLOGOUT][LOGOUT]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSESSION_VARIABLE][SESSION_VARIABLE]] 9 9 -
branches/Release04x02/data/TWiki/VarLOGIN.txt
r481 r519 5 5 * Syntax: =%<nop>LOGIN%= 6 6 * Expand to: %LOGIN% 7 * Related: TWikiUserAuthentication, [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSESSIONID][SESSIONID]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSESSIONVAR][SESSIONVAR]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarLOGOUT][LOGOUT]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSESSION_VARIABLE][SESSION_VARIABLE]]7 * Related: UserAuthentication, [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSESSIONID][SESSIONID]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSESSIONVAR][SESSIONVAR]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarLOGOUT][LOGOUT]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSESSION_VARIABLE][SESSION_VARIABLE]] 8 8 -
branches/Release04x02/data/TWiki/VarLOGOUT.txt
r481 r519 5 5 * Syntax: =%<nop>LOGOUT%= 6 6 * Expand to: %LOGOUT% 7 * Related: TWikiUserAuthentication, [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSESSIONID][SESSIONID]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSESSIONVAR][SESSIONVAR]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarLOGIN][LOGIN]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSESSION_VARIABLE][SESSION_VARIABLE]]7 * Related: UserAuthentication, [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSESSIONID][SESSIONID]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSESSIONVAR][SESSIONVAR]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarLOGIN][LOGIN]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSESSION_VARIABLE][SESSION_VARIABLE]] 8 8 9 9 -
branches/Release04x02/data/TWiki/VarSESSIONID.txt
r481 r519 5 5 * Syntax: =%<nop>SESSIONID%= 6 6 * Expand to: <tt>%SESSIONID%</tt> 7 * Related: TWikiUserAuthentication, [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarAUTHREALM][AUTHREALM]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSESSIONVAR][SESSIONVAR]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarLOGIN][LOGIN]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarLOGOUT][LOGOUT]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSESSION_VARIABLE][SESSION_VARIABLE]]7 * Related: UserAuthentication, [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarAUTHREALM][AUTHREALM]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSESSIONVAR][SESSIONVAR]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarLOGIN][LOGIN]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarLOGOUT][LOGOUT]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSESSION_VARIABLE][SESSION_VARIABLE]] 8 8 -
branches/Release04x02/data/TWiki/VarSESSIONVAR.txt
r481 r519 5 5 * Syntax: =%<nop>SESSIONVAR%= 6 6 * Expand to: <tt>%SESSIONVAR%</tt> 7 * Related: TWikiUserAuthentication, [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarAUTHREALM][AUTHREALM]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSESSIONID][SESSIONID]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarLOGIN][LOGIN]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarLOGOUT][LOGOUT]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSESSION_VARIABLE][SESSION_VARIABLE]]7 * Related: UserAuthentication, [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarAUTHREALM][AUTHREALM]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSESSIONID][SESSIONID]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarLOGIN][LOGIN]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarLOGOUT][LOGOUT]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSESSION_VARIABLE][SESSION_VARIABLE]] 8 8 -
branches/Release04x02/data/TWiki/VarSESSIONVARIABLE.txt
r481 r519 7 7 * Syntax: =%<nop>SESSION_VARIABLE{"name" clear=""}%= 8 8 * %H% Hint: The users ID is in the =AUTHUSER= session variable, and is read-only 9 * Related: TWikiUserAuthentication, [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarAUTHREALM][AUTHREALM]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSESSIONID][SESSIONID]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSESSIONVAR][SESSIONVAR]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarLOGIN][LOGIN]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarLOGOUT][LOGOUT]]9 * Related: UserAuthentication, [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarAUTHREALM][AUTHREALM]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSESSIONID][SESSIONID]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSESSIONVAR][SESSIONVAR]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarLOGIN][LOGIN]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarLOGOUT][LOGOUT]] 10 10 -
branches/Release04x02/data/TWiki/VarUSERINFO.txt
r481 r519 12 12 * Expands to: <code>%USERINFO{ "TWikiGuest" format="$username is really !$wikiname" }%</code> 13 13 * __Note:__ The parameter should be the wikiname of a user. Since TWiki 4.2.1, you can also pass a login name. You can only get information about another user if the ={AntiSpam}{HideUserDetails}= configuration option is not enabled, or if you are an admin. %IF{"{AntiSpam}{HideUserDetails}" then=" _(User details are hidden in this TWiki)_ "}% 14 * Related: [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarUSERNAME][USERNAME]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarWIKINAME][WIKINAME]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarWIKIUSERNAME][WIKIUSERNAME]], TWikiUserAuthentication, ChangeEmailAddress14 * Related: [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarUSERNAME][USERNAME]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarWIKINAME][WIKINAME]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarWIKIUSERNAME][WIKIUSERNAME]], UserAuthentication, ChangeEmailAddress -
branches/Release04x02/data/TWiki/VarUSERNAME.txt
r486 r519 7 7 * Expands to: =%USERNAME%= 8 8 * __%X% Note:__ When used in a template topic, this variable will be expanded when the template is used to create a new topic. See TemplateTopics#TemplateTopicsVars for details. 9 * Related: [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarREMOTEUSER][REMOTE_USER]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarUSERINFO][USERINFO]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarWIKINAME][WIKINAME]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarWIKIUSERNAME][WIKIUSERNAME]], TWikiUserAuthentication9 * Related: [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarREMOTEUSER][REMOTE_USER]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarUSERINFO][USERINFO]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarWIKINAME][WIKINAME]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarWIKIUSERNAME][WIKIUSERNAME]], UserAuthentication 10 10
Note: See TracChangeset
for help on using the changeset viewer.
