O'Reilly logo

Dreamweaver MX 2004: The Missing Manual by David Sawyer McFarland

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 24. Advanced Dynamic Site Features

Dreamweaver’s basic database capabilities are impressive. But there may come a time when you need to dig deeper into the program to build successful Web applications. Dreamweaver’s advanced features let you, the mere mortal, do things that the pros do every day, like password-protecting pages, displaying (or hiding) content based on database results, and accessing information from forms, cookies, and URLs.

Password-Protecting Web Pages

Although Dreamweaver lets you create Web pages that can add, edit, and delete records from a database, your ebusiness wouldn’t last very long if just anyone could remove orders from your online ordering system or view credit card information stored in your customers’ records. And certainly your company’s executives wouldn’t be happy if someone accessed the staff directory database, and changed their titles from, for example, CEO to Chief Bozo. For these and other reasons, Dreamweaver provides a simple set of tools for locking your pages away from prying eyes.

The User Authentication server behaviors can password-protect any page on your site. With this feature, you can limit areas of your site to registered users only, allow customers to access and update their contact information, create maintenance pages accessible only to administrators, or personalize Web pages with customized messages (“Welcome back, Dave”).

Note

ASP.NET note—Dreamweaver MX 2004 does not provide any User Authentication behaviors for ASP.NET. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required