Webmaster Resources - Macromedia
Dreamweaver Tutorial
Creating Login Authentication and Restricted Access Pages in Dreamweaver MX
Macromedia Dreamweaver Tutorial - Login Authentication Example:This example assumes that you have created a dynamic Dreamweaver Web Site utilizing Active Server Pages, have created a database with User Authentication information and have established a database connection. In this example you will create three pages;
View the completed login page. Login Page - The page is named login.asp and is made up of a form that is named, userAuthentication. A screen shot is highlighted below. |
![]() |
|
This shows the text box detail in the userAuthentication form. The User Name text field is named username and the
Password text field is named
|
Select User Authentication. Select LogIn User. |
Username Field - from the form input field Password Field - from the form input field Connection - your connection name Table - userAuthentication table in the Database Username Column - from the database Password Column - from the database Select the page(s) that you will go to if login succeeds or fails. In this example, we are restricting access based on Username and Password. Click OK and save your login page.
|
Next, open the page that has your restricted content.
|
Once again, select User Authentication and then select Restrict Access to Page. You Application Panel will look like this. |
| Close and save your page. You may want to also create your sorry.asp page. This is the page that will appear if a user does not supply proper authentication credentials. Put all you files on the server and your ready to go. |
Copyright ©2007 BusinessTracks Inc., All Rights Reserved.









