The following sections provide several examples of ways to implement security.
Using the Dreamweaver Login Wizard
ColdFusion installs a Login Wizard command in the Dreamweaver Commands menu that generates a skeleton set of pages for managing user authentication and authorization.
The wizard asks you to you select how to authenticate the login information. You can select one of the following options:
- Simple You specify a single user ID and password in the wizard. All users must enter this information to log in. You can use this option for testing, or you can use the generated files as a template where you can replace the authentication code with more complex code; for example, to verify the ID and password against a database.
- NT domain You specify an NT domain in the wizard, and the wizard generates code that queries the domain.
- LDAP You specify the LDAP server and port, the user name and password required to access the login data, and the distinguished name to use to start the search for the user name. The wizard generates the code to query the LDAP server with the user ID and password.
The wizard asks you to select one of the following options for displaying the request for login information:
- Browser Dialog Box
- ColdFusion Login Form