Is there a way to block access to my site? Basically I dont

Is there a way to block access to my site? Basically I dont want any part of my site visible unless they are logged in. All I want to show is the main login screen and nothing else to public.