Using ColdFusion to Control Access

The rest of this chapter discusses how to build your own form-based security mechanism. In general, putting such a mechanism in place requires three basic steps:

  • Deciding which pages or information should be password-protected
  • Creating a login page and verifying the user name and password
  • Restricting access to pages or information based on who the user is, either using a homegrown Session-Based mechanism, or with the <cflogin> framework

Get Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started 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.