|
This script is meant to be called from a #security script or possibly a controlAccess callback.
It's used to provides security for the control panel site in mainResponder.root, see mainResponder.controlPanel.["#security"] for an example of how to call this script.
A security level of 0 means that only Basic Access Authentication is active. This is the weakest authentication scheme.
A security level of 1 means that both Basic and Digest Access Authentication are active. It's the client's choice.
A security level of 2 means that only Digest Access Authentication is active.
A security level of 3 means that only Digest Access Authentication is active. This is the most secure of the supported authentication scheme.
In Frontier 6, only Basic Access Authentication, i.e. security level 0, is supported. Since Digest Access Authentication requires the computation of MD5 hashes, it is only supported in Frontier 6.1 and higher where the string.hashMD5 verb is available.
An introduction to Basic Access Authentication and Digest Access Authentication is available at http://frontier.userland.com/stories/storyReader$2159
To learn more about Basic Access Authentication and Digest Access Authentication refer to RFC 2617. If you need to protect sensitive data, it's critically important that you understand the features and limitations of both authentication schemes. If the protection offered by these schemes is not sufficient for your purposes, you probably need to look into running Frontier behind a SSL- or TLS-enabled webserver.
The domain and noncesExpireAfterMinutes parameters are only relevant for Digest Access Authentication.
Detailed information about mainResponder's membership group format is available from the Frontier Site.
|