Lockout anyone who is not a member

I want to lockout anyone who is not member of any of the network sub sites of my site. For instance, anyone from the public can view one of the sub directory sites. But I want them to be required to join the main domain first. How can I accomplish this?