How to protect some controller action(s) from being accessed by unauthorized users?
Usually you can check this.User.Identity.IsAuthenticated in each action. But that doesn't look good, does it?
What if we can have an attribute to mark actions accessible only by logged in users?
More...