Realizing that not all desired CGI functionality can be anticipated by the sysadmins, a means for adding additional CGIs has been provided. However, all CGIs accessed from http://cyberbuzz.gatech.edu/cgi-bin/ (those in /www/cgi-bin/ on the system) must be scrutinized by a sysadmin for security risks.
All CGIs to be submitted by users must be provided to the sysadmins in working source code format with the following in their header:
For example, here's a CGI script I just wrote: envprint
#!/usr/local/bin/perl
#
# CyberBuzz Admins
# Chris Ricker, kaboom@cyberbuzz.gatech.edu
# custom-written, GPL'ed 1/19/98
# Print some environmental strings to test the CGI interface
# Submitted for review 1/19/98
#
print "Content-type: text/html\n\n";
while (($item, $value) = each %ENV)
{
print "$item = $value<BR>\n";
}
After you have written and debugged your CGI script, you submit it by copying it into the /home/special/cgi-submit/ directory on CyberBuzz. This directory is world-writeable, but sticky, so no one can mess with your files once they are in place. Admins will periodically be notified when files are in this directory, and they will then analyze them and either delete them, notifiying the listed contact person, or install them.
To allow users the ability to debug their scripts before installation, CGIWrap has been installed. CGIWrap allows the secure running of unverified CGI scripts, although with much-reduced speed, the inconvenience of a cumbersome URL, and other drawbacks which make it unsuitable for permanent use.
To illustrate its use, we'll again consider my CGI envprint.
Support@CyberBuzz.GaTech.edu
Copyright © 1998 CyberBuzz/Georgia Tech
|
Disclaimers |