Drupal 7: Protect entire site in a maintaince mode-esque fashion
Remove the permission that allows users to view published content.  They'll get an access denied message.  Create a custom 403 page with the login info and poof!  Robert's your mother's brother.