wpf - XBAP deep linking. Possible security threats? -
I have an XBAP WPF application that shows several pages inside the frame. I was thinking about allowing the link to link deep into this app. That's because users can link in some way and then when the app loads, I automatically set MyPage.xaml as the source of my main frame.
I think I have to understand how to get it. Do not I know that I should sanitize any of these parameters to prevent potential security vulnerabilities? Or is there no worry in WPF in such a scenario?
I think all of this depends on how you manage your XAML Dynamic Loading If you are building directly the XML file name from the parameter, you can potentially allow the user to load whatever XAM you want in your application (in which you do not want to access the user If this is possible within you Anonymous.
You can think of creating some mapping files that are map parameters for XML files. XAML elements can only be accessed. You want to enter them.
Besides ... Good luck!
Comments
Post a Comment