>From macperl@cfcl.com Mon Aug 14 21:07:03 2000 X-Sent-To: <macperl-webcgi@macperl.org> Received: from merle.it.northwestern.edu (merle.acns.nwu.edu [129.105.16.57]) by cfcl.com (8.9.2/8.9.2) with ESMTP id VAA08575 for <macperl-webcgi@macperl.org>; Mon, 14 Aug 2000 21:07:02 -0700 (PDT) Received: (from mailnull@localhost) by merle.it.northwestern.edu (8.8.7/8.8.7) id XAA12193 for <macperl-webcgi@macperl.org>; Mon, 14 Aug 2000 23:03:56 -0500 (CDT) Received: from [129.105.9.211] (pine-41-009211.nuts.nwu.edu [129.105.9.211]) by merle.acns.nwu.edu via smap (V2.0) id xma009435; Mon, 14 Aug 00 23:03:36 -0500 User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022 Date: Mon, 14 Aug 2000 23:03:33 -0500 Subject: Re: [MacPerl-WebCGI] Pop-up requester From: Brian Teutsch <b-teutsch@northwestern.edu> To: <macperl-webcgi@macperl.org> Message-ID: <B5BE2B45.3AF3%b-teutsch@northwestern.edu> In-Reply-To: <3997B023.EE01DFA5@saga.co.uk> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit on 8/14/00 3:38 AM, Stephen Criddle at stephen.criddle@saga.co.uk wrote: > I wasn't actually thinking of Javascript when I posted my original question > about a pop-up requester. I was thinking more of the kind of pop-up requester > you get when you try to access a restricted directory. I don't think it's > done > through Javascript - I think it's at a lower level. (Our firewall does a > similar thing the first time we access the net in the morning). I think what you're asking about is the www-authenticate field. It's returned to give access to directories or files, and returns a 401 Access Denied error code when authentication fails. I haven't implemented something like it using perl-returned headers, but perhaps it's possible. Brian -- Brian Teutsch <http://www.cs.northwestern.edu/~brian/> <b-teutsch@northwestern.edu> Things fall down. People look up. And when it rains, it pours. - magnolia # ===== Want to unsubscribe from this list? # ===== Send mail with body "unsubscribe" to macperl-request@macperl.org