Authentication (both Basic and Digest) can also protect CGI scripts. Simply provide a suitable <Directory .../cgi-bin> block.
Copyright © 2003 O'Reilly & Associates. All rights reserved.