Hi All,
I am using a browser control in my WPF application. The users of this application will be using this control for viewing content that could contain malicious scripts. I want to set the Trust Level so that none of the scripts should be executed. I have added
the Attribute to the method that creates the Browser control. I dont think its working though. Any thoughts on how this can be done?
[
PermissionSet(SecurityAction.Assert,
Name = "Nothing")]
public System.Windows.Forms.WebBrowser
CreateBrowserControl(
View Complete Post