Block ALL posts from un-registered users

Hi, i would like to block all my posts to logged in users only, how can i do that?

Maybe showing a little excerpt of the post and then a message that says something like “To view the full article you must register or login”..