Integrating Security Roles into Microsoft Silverlight Applications

Download this episode

Download Video


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.
For more information, check out this course on Microsoft Virtual Academy:







Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.