In a typical WPF application you might need to secure any control on any window or user control. There are different ways you need to secure these controls; you may want them to be invisible, disabled, read only, hidden or collapse. There is no security built-in to WPF, so you must roll your own. This session shows an approach to creating a data-driven security system you can tack onto your existing WPF application with just a little bit of code.
You will learn:
- Create a security system for WPF
- How to secure controls by user roles
- Set a Generic Principal on the current WPF thread of execution