I'm looking for a way to easily hide a specific content type from anonymous users. I've been looking all over this site for something like this for a long time and even things like Workbench don't do this. Why is this so hard? It seems as if this should be a core piece of Drupal. Heck, there are specific permissions for editing each content type, or even editing only content a specific role has created for each content type, but nothing for just viewing published content for a specific role.

Are there any modules out there we can use to perform this task?

Comments

pixelsweatshop’s picture

Content access is great but it might be overkill for just one content type. Maybe use http://drupal.org/project/node_view_permissions

kalidasan’s picture

I have enabled this module (https://drupal.org/project/node_view_permissions).
Selected specific content type in the configuration.

I have given permission to some authenticated user for this specific content type.
I have not given any permission to anonymous user.
But anonymous can still view my content.

is there any other module available?

WorldFallz’s picture

You might need to rebuild access control-- iirc, it's on the performance page. For me, for very simple restriction needs, I like to use the private module.