How do I protect content from being accessed unless a user is logged in?

2 posts / 0 new
Last post
rtoy
How do I protect content from being accessed unless a user is logged in?

Can you point me to a resource concerning not allowing a visitor to see any content on the site unless they are logged in?  I visited a lot of openoutreach sites and a visitor can see all the content on a site without being logged in.  Thanks in advance!

rosemary
All content or just some?

If you're wanting just some content to be visible only to certain types of users then you can use the Members feature.

If you in fact have a website that you want only authenticated users to be able to view, then you can change a global permission for viewing content. navigate to the permissions page ( admin/people/permissions) and under node remove the View content permission from anonymous users.

This is not a use case we've ever modeled for Open Outreach site, so you'll be on your own in playing with this.