WPEngine does a great version of this, but basically you can put an entire installation behind a password if you'd like.
This is nice because it provides extra options to keep a site hidden or privacy etc. Or in my current case, I have a client that has an unpaid bill so I'd like to temporarily put the installation behind a password until they pay. I don't want to delete the site or anything, just pull it down temporarily until this is resolved.