Go to Control Panel -> User Management. Edit the Anonymous user and set the role to None. This will force users to login before seeing any content.
Viewing Details: