Exercise 2: Requiring users to log in to the Compass Travel application
147
Creating a login using Windows NT authentication
1.
Start the Login Wizard. (See
“Starting the Login Wizard” on page 145
.)
2.
Select NT as the type of authentication.
3.
Select one of the following:
Basic Authentication
to use the browser dialog box to prompt the user for credentials
ColdFusion Login page
to prompt the user in a web page
4.
Enter the name of the domain for whose members you want to grant access to your application.
Note:
The Login Wizard does not perform validation of the domain name and works only on
Windows.
5.
Click Next.
6.
Select the check box to have the Login Wizard synchronize the files on the remote server.
7.
Click Done.
Exercise 2: Requiring users to log in to the Compass Travel
application
To ensure that only employees of Compass Travel can access the application you have built, you
use the Login Wizard to provide user authentication. You specify only one username and
password that all employees of Compass Travel will use to gain access to the application.
Note:
To perform the steps in this exercise, you must be running Windows. In addition, the site that
contains the Compass Travel application must be a site managed by Dreamweaver.
To add user authentication to the Compass Travel application:
1.
Start Dreamweaver.
2.
Verify that the Compass Travel site is the current site.
3.
In Dreamweaver, select Commands > CF Login Wizard.
4.
Click Begin the Wizard.
5.
Select the Secure Your Active Site option.
6.
Click Next.
7.
Select Simple as the type of authentication.
8.
Select Basic Authentication.
9.
Enter
CompassStaff
as the user name.
10.
Enter
Columbus92
as the password.
The Login Wizard creates the files necessary to restrict access to your application. The Wizard
then displays a list of the files.
11.
Click Done.
Summary of Contents for COLFUSION MX 7-GETTING STARTED BUILDING COLDFUSION...
Page 1: ...COLDFUSION MX7 Getting Started Building ColdFusion MX Applications...
Page 6: ...6 Contents...
Page 10: ......
Page 14: ...14 Chapter 1 Introducing ColdFusion MX...
Page 38: ...38 Chapter 3 Database Fundamentals...
Page 40: ......
Page 58: ...58 Chapter 5 Lesson 2 Configuring Your Development Environment...
Page 70: ...70 Chapter 6 Lesson 3 Retrieving Data...
Page 84: ...84 Chapter 7 Lesson 4 Building Dynamic Queries...
Page 96: ...96 Chapter 8 Lesson 5 Creating a Trip Detail Page...
Page 102: ...102 Chapter 9 Lesson 6 Creating a Main Application Page...