What I posted was a software mod in PHP... the apache version is more desirable and works just as well.
If your ISP doesn't allow .htaccess, do the PHP version.
This works wonders for my Windows servers ... thanks!
I did use htaccess to protect my admin cp, but one day I forgot my password and I had to go into my cpanel to re-create the htaccess. Also, at times where I need quick access, and don't want to enter a password, this fix does it. :ermm: