Restricting page access [closed]

You can generate output conditionally with trivial is_user_logged_in() check in template.