auto subscription to membership on user registration

Is there a way to assign new users a membership level at registration automatically? Eg I just want to protect all site content from non-registered users.