I\'ve made a WPF Browser Application that hosts old WinForms controls (I haven\'t migrated fully to WPF yet). Using WindowsFormsHost means my Browser App requires Full Trust
It will be possible in .Net 4.0 planning to be released in the first half of 2010. It is now in a beta phase, but it comes with a go live license which allows you to 'go live' even with a beta version of the .Net framework.
Although I haven't tried this, is the path to the XBAP added as a trusted site?
So far, I've found 2 ways to do this. Through a really complicated method of installing certificates on the target machine.
Or through a simpler method, which is only suitable for intranets here:
Deploy a custom CLR Security policy that modifies the default permissionset for the given zone
So I did just that, and it works. Here's the detailed steps how I got it to work:
Now the only problem with this method, is that I have to deploy this change to hundreds of machines. So maybe there's still a simpler way to do this?