Integrating Security Roles into Microsoft Silverlight Applications
Security is a key component of applications and something that developers often struggle with to get right. How do you authenticate a Silverlight user? How do you integrate roles and use them to show or hide different parts of a screen? How do you ensure that users are prevented from accessing specific screens? Although Silverlight doesn’t allow direct access to user credentials and roles, there are several techniques that can be used to access this information. In this talk, Dan Wahlin discusses how to access authenticated users’ identity information such as user name and roles and integrate them into an application. Throughout the talk , see how a SecurityManager class can be used in XAML code-behind files or within ViewModel classes to show and hide different controls, handle calls to a security service and ensure that specific views are secured based upon user roles.