CGI Programming 101: Chapter 16: Writing Secure Scripts

The text and programs here are from the first edition of CGI Programming 101. This has been replaced by the 2nd edition; please click here to view the updated material from the 2nd edition.

Name Description
man.txt source code for man.cgi - an example of taint checking in a CGI.
man.html Working demo of the above script.
envman.txt source code for envman.cgi - works like man.cgi except it accepts a parameter via $QUERY_STRING
envman.cgi?perlsec Example - the perlsec (Perl security) man page

All text and scripts are excerpted from CGI Programming 101, and are copyright © 1999 by Jacqueline D. Hamilton. Unauthorized reproduction of this material is prohibited.

Additional Resources


Table of Contents | Order the Book | CGI101 Home