HTTP Authentication

Just insert the following into your settings.ini:

[http_authentication]
user = sha1oftheirpassword
another_user = sha1oftheirpassword

Set the following property in all handlers that you want to require
authorization:

protected $require_http_authentication = TRUE;