Roxen.git / server / base_server / configuration.pike

version» Context lines:

Roxen.git/server/base_server/configuration.pike:1:   // A vitual server's main configuration   // Copyright © 1996 - 2000, Roxen IS.    - constant cvs_version = "$Id: configuration.pike,v 1.383 2000/11/02 14:02:24 per Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.384 2000/11/15 09:55:22 per Exp $";   constant is_configuration = 1;   #include <module.h>   #include <module_constants.h>   #include <roxen.h>   #include <request_trace.h>      inherit "basic_defvar";      mapping enabled_modules = ([]);   mapping(string:array(int)) error_log=([]);
Roxen.git/server/base_server/configuration.pike:2274:    "<p>In username: 'any' stands for any valid account "    "(from .htaccess"    " or an auth module. The default (used when _no_ "    "entries are present) is 'allow ip=*', allowing"    " everyone to access the module.</p>"));       if(!(module_type & MODULE_PROXY))    {    me->defvar("_seclvl", 0, DLOCALE(18, "Security: Security level"),    TYPE_INT, -  DLOCALE(19, "The modules security level is used to determine if a " +  DLOCALE(0, "The modules security level is used to determine if a "    " request should be handled by the module."    "\n<p><h2>Security level vs Trust level</h2>"    " Each module has a configurable <i>security level</i>."    " Each request has an assigned trust level. Higher"    " <i>trust levels</i> grants access to modules with higher"    " <i>security levels</i>."    "\n<p><h2>Definitions</h2><ul>"    " <li>A requests initial Trust level is infinitely high.</li>"    " <li> A request will only be handled by a module if its"    " <i>trust level</i> is higher or equal to the"    " <i>security level</i> of the module.</li>"    " <li> Each time the request is handled by a module the"    " <i>trust level</i> of the module will be set to the"    " lower of its <i>trust level</i> and the modules" -  " <i>security level</i>.</li>" +  " <i>security level</i>, <i>unless</i> the security level " +  " of the module is 0, which is a special case and " +  " means that no change should be made.</li>"    " </ul></p>"    "\n<p><h2>Example</h2>"    " Modules:<ul>"    " <li> User filesystem, <i>security level</i> 1</li>"    " <li> Filesystem module, <i>security level</i> 3</li>"    " <li> CGI module, <i>security level</i> 2</li>"    " </ul></p>"    "\n<p>A request handled by \"User filesystem\" is assigned"    " a <i>trust level</i> of one after the <i>security"    " level</i> of that module. That request can then not be"