๋ฌธ์˜ˆ๋…ธํŠธ(literarynote)๋Š” ์ž ์žฌ์˜ ๊ธ์ • ๊ทธ๋ฆฌ๊ณ  ๋‹ค์–‘์˜ ๊ณต์กด์— ๊ด€ํ•œ ์—ฐ๊ตฌ์™€ ์‹คํ—˜์œผ๋กœ ์‚ถ์˜ ์ง„์ •์„ฑ์„ ๋ชจ์ƒ‰ํ•ฉ๋‹ˆ๋‹ค. ๋ฌธ์˜ˆ๋…ธํŠธ๋Š” ํ•œ ๊ถŒ์˜ ์ฑ…์ด๋ฉฐ, ๋ฌดํ˜•์˜ ์—ฐ๊ตฌ์‹ค์ž…๋‹ˆ๋‹ค.


Main

Literarynote


Links


PmWiki

pmwiki.org


Edit SideBar

SecurityVariables

$AuthUserFunctions
(Present only when the in-built AuthUser username/password functionality is used). An array of different authentication mechanisms to be used for user authentication. Array keys are a tag for the mechanism; values are a function callback that will be called with the properties $pagename, $id, $password, and $pwlist. Oh... could someone else make this make sense, please?!
$DefaultPasswords
Specifies default passwords for user admin or actions (edit, read, upload). See PasswordsAdmin#settingsitewidepasswords.
$EnablePostAttrClearSession
A switch to control whether or not changing a page's attributes causes any existing passwords to be forgotten. The default is that changing attributes forgets any passwords entered; this can be changed by setting $EnablePostAttrClearSession to zero.
$EnableSessionPasswords
Control whether passwords are saved as part of the session. If set to zero, then session passwords are never saved (although any AuthUser authentications are still remembered).
$SessionEncode
Function to use to encode sensitive information in sessions. Set this to NULL if you want to not use any encoding. (See also $SessionDecode below.)
$SessionDecode
Function to reverse the decoding given by $SessionEncode above. Set this to NULL if sensitive session values are not encoded.
$HandleAuth
This sets the required authentication Level that is necessary to perform an action(์ด ์„ค์ •์€ ์•ก์…˜์„ ์ˆ˜ํ–‰ํ• ๋•Œ ํ•„์š”ํ•œ ์ธ์ฆ์ˆ˜์ค€์„ ์„ค์ •ํ•œ๋‹ค). When using the following example in your config.php you need to be authenticated as editor in order to view the page history(๊ฐ€๋ น, ํŽ˜์ด์ง€๋ณ€๊ฒฝ ๋‚ด์—ญ์„ ๋ณด๊ธฐ ์œ„ํ•ด์„œ๋Š” ํŽธ์ง‘์ž(ํ˜น์€ ๊ด€๋ฆฌ์ž)์˜ ์ธ์ฆ์„ ๋ฐ›์•„์•ผ ํ•  ๋•Œ, config.phpํŒŒ์ผ์— ์•„๋ž˜์™€ ๊ฐ™์ด์„ค์ •ํ•ด ์ค€๋‹ค):
        $HandleAuth['diff'] = 'edit';
$PageAttributes
Set the string shown on the attributes page when entering a password for an action.
$AuthLDAPBindDN
For sites using AuthUser with LDAP authentication, this specifies the distinguished name (DN) to be used to bind to the LDAP server to check identity.
$AuthLDAPBindPassword
For AuthUser with LDAP authentication, this specifies the password used for binding (in conjunction with $AuthLDAPBindDN above).
$EnablePublishAttr
Adds a new "publish" authorization level to distinguish editing of drafts from publishing - See $EnableDrafts.

See also:


This page may have a more recent version on pmwiki.org: PmWiki:SecurityVariables, and a talk page: PmWiki:SecurityVariables-Talk.

Page last modified on August 24, 2009, at 05:29 AM