http://qs321.pair.com?node_id=66528


in reply to Basic http authentication in Perl

If you want to do this with mod_perl on an Apache server, there's a great book called Writing Apache Modules with Perl and C. And here's a sample chapter on Authentication & Authorization.