Chapter 3 Lab

Linking a CGI Script to a Database with Robust Error-Checking

This CGI script:

Tasks to Do for this Lab

Solution

Extra for Experts

CGI programs on Web servers raise some security concerns: A Perl feature addresses these concerns -- tainting: To be secure, data must be untainted:

Advanced Lab

Untaint the db_name form variable:

 
Dan Keller Technical Services © 2000