You could use .htaccess and "pass" the password and username into the .htpasswd file using crypt for the password field. I have done this for one of my scripts...however, I have not been able to pass modified passwords to the .htpasswd file.
Regards,
Eliot
Regards,
Eliot