> 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 may be wrong, but it sounds to me like you're trying to do htaccess restrictions to your site. We have this implemented on a small little intranet site in our office - you try to access a page and the server pushes a dialog box at you asking for a username and password. If this is what you're looking at, you'll probably want to talk to your system administrator. It's not Perl, cgi, HTML, or Javascript - it's off topic, but if you go to: http://faq.clever.net/htaccess.htm you'll find a quick little example of making it work. Below is an edited example of what we did for our intranet web page authorization. (go to the link above for explanations...) 1) create an '.htaccess' file in he directory you want to restrict access to. it should look something like this: AuthUserFile /path/to/directory/.htpasswd AuthName Admin-Test AuthType Basic <Limit Get Post> require valid-user </Limit> 2) create the password file: unix% touch /path/to/directory/.htpasswd 3) set the permissions: unix% chmod 644 /path/to/directory/.htpasswd 4) add users to the password file: unix% /path/to/htpasswd_program/htpasswd /path/to/directory/.htpasswd this should prompt you to enter the username and password with something like: Enter the username to add to the access file: foobar Enter the passwd for "foobar": password Re-enter the passwd: password foobar has been successfully added to ./.htpasswd unix% There may be Perl libraries to help automate this or to allow a web interface for adding and deleting users, but I'm not sure - check CPAN. I hope this helps. Ryan -- ==== Want to unsubscribe from this list? ==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org