This plugin allows you to make your WordPress site accessible to logged in users only.