User Guide

Table Of Contents
388 Chapter 16: Securing Applications
Although this scenario shows one method for implementing user security, it is only an example.
For example, your application could require users to log in for only some pages, such as pages in a
folder that contains administrative functions. When you design your user security
implementation, remember the following:
Code in the cflogin tag body executes only if there is no user logged in.
With application authentication, you write the code that gets the identification from the user
and tests this information against a secure credential store.
After you have authenticated the user, you use the cfloginuser tag to log the user into
ColdFusion.
The following figure shows this flow of control. For simplicity, it omits the log-out option.
Implementing user security
The following sections provide several examples of ways to implement security.
Using the Dreamweaver Login Wizard
ColdFusion MX installs a Login Wizard command in the Dreamweaver Commands menu that
generates a skeleton set of pages for managing user authentication and authorization.