The web server processes the requested page and all future page requests from the browser that contain the HTTP Authorization header, if it is valid for the requested page. You can use web server authentication without using any ColdFusion security features. In this case, you configure and manage all user security through the web server's interfaces. You can also use web server authentication with ColdFusion application authentication, and thus use ColdFusion security for authorization. If the web server uses basic HTML authentication, the ColdFusion
cflogin tag provides access to the user ID and password that the user entered to log in to the web server. If the web server uses Digest or NTLM authentication, the cflogin tag normally gets the user ID, but not the password. As a result, your application rely on the web server to authenticate the user against its user and password information, and does not have to display a login page. You use the cflogin and
cfloginuser tags to log the user into the ColdFusion user security system, and use the
IsUserInAnyRole and
GetAuthUser functions to ensure user authorization. For more information on this form of security, see
A web server authentication security scenario in
Security scenarios.