How to limit access of Pages/Posts only to registered users

As title, is there any plugin that can protect certain premium resources like pages, download-able files, posts and blogs, and make them only accessable to registered users?

And if a user is not registered, he should be redirected to a registration page.