HTTP Basic Authentication

Nearly all Web servers provide support for something called HTTP basic authentication. Basic authentication is a method for password-protecting your Web documents and images and usually is used to protect static files, such as straight HTML files. However, you can certainly use basic authentication to password-protect your ColdFusion templates. Users will be prompted for their user names and passwords via a dialog box presented by the browser, as shown in Figure 23.1. You won’t have control over the look or wording of the dialog box, which varies from browser to browser.

Figure 23.1. Basic authentication prompts the user to log in using a standard dialog box.

Basic authentication isn’t the focus of this chapter. ...

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.