Chapter 27. 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 web-development pros do every day, like password-protect pages, display (or hide) content based on database results, and access information from forms, cookies, and URLs.
Password-Protecting Web Pages
Although Dreamweaver lets you create web pages that let others add, edit, and delete records from a database, your e-business wouldnât last very long if just anyone could remove orders from your online ordering system or view your customersâ credit card information. And certainly your boss wouldnât be happy if someone got into the staff database and changed his title to Chief Bozo. For these and other reasons, Dreamweaver provides a simple set of tools to lock your pages from prying eyes.
Dreamweaverâs User Authentication server behaviors can password-protect any page on your site. With them, you can limit areas of your site to registered users only, let customers review and update their contact information, create maintenance pages accessible only to administrators, or personalize pages with custom messages (âWelcome back, Dave!â).
To password-protect pages, you need to get several elements in order:
A database table containing the authorized usersâ login information.
A registration form for adding ...
Get Dreamweaver CS5.5: The Missing Manual now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.