Redirects non-logged users to login page when they follow a private post or private page link.
Put a sitewide password on your site. Users must enter password before viewing content.
Restrict access to your content by wrapping it in a simple shortcode. You can grant access to certain roles or users who have a certain capability.