Securing Windows Azure Distributed Application Using AppFabric Access Control Service (ACS) v2 – Scenario and Solution Approach
This post is a continuation of How To: Configure Windows Azure Web Role ASP.NET Web application for Federation with Access Control Service (ACS) v2
Scenario
Consider the following canonical scenario for distributed applications deployed to Windows Azure:
Key characteristics:
- End users access the the ASP.NET web app via browser.
- ASP.NET web app is deployed to Windows Azure Web Role.
- WCF Service is deployed to another Windows Azure Web Role.
- ASP.NET web access the WCF service as a downstream service.
Challenges:
- How to authenticate end users to ASP.NET web app?
- How to implement authorization access checks at the ASP.NET web app?
- How to authenticate web app’s calls to WCF service?
- How to implement authorization access checks at the WCF service?
- How to manage identities and their credentials outside the application?
Solution
Solution summary:
- Use ACSv2 to implement federated authentication for end users – reusing existing authentication and identity management mechanisms
- Use ACSv2 to manage identities for accessing WCF service
- Use Windows Identity Foundation (WIF) to implement authorization access checks at ASP.NET web application
- Use Windows Identity Foundation (WIF) to implement authorization access checks at WCF service
Related materials
- Windows Identity Foundation (WIF) and Azure AppFabric Access Control (ACS) Service Survival Guide
- Video: What’s Windows Azure AppFabric Access Control Service (ACS) v2?
- Video: What Windows Azure AppFabric Access Control Service (ACS) v2 Can Do For Me?
- Video: Windows Azure AppFabric Access Control Service (ACS) v2 Key Components and Architecture
- Video: Windows Azure AppFabric Access Control Service (ACS) v2 Prerequisites
- Windows Azure AppFabric Access Control Service 2.0 Documentation
- Windows Identity Foundation (WIF) Fast Track
- Windows Identity Foundation (WIF) Code Samples
- Windows Identity Foundation (WIF) SDK Help Overhaul
- Windows Identity Foundation (WIF) Questions & Answers