Up to this point, BrewHow has been an entirely anonymous app. Anyone can post recipes to share with the community and anyone can review those recipes. This model is fine if this is the only functionality we wish to provide to users, but we have loftier aspirations. We want our users to be acknowledged for their contributions and accountable for their reviews. We may also add functionality that requires the app to know who they are. We need to provide a means for our users to authenticate themselves with our app.
In this chapter, we explore the ASP.NET Membership frameworks that provide authentication and authorization to our application. We will create new users in our application using the SimpleMembership
membership provider and look at the new support for external authentication providers such as Google and Facebook. We will then restrict portions of our application to authenticated users. We will complete the chapter by tying together everything...