Integrating Security Roles into Microsoft Silverlight Applications


Right click “Save as…”

Slides (view online)
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:

Follow the discussion

  • Oops, something didn't work.

    Getting subscription
    Subscribe to this conversation

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.