Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/.net/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
.net 为什么System.Windows.Forms.HtmlDocument需要完全信任?_.net_Winforms_Security_Windows Services_Dom - Fatal编程技术网

.net 为什么System.Windows.Forms.HtmlDocument需要完全信任?

.net 为什么System.Windows.Forms.HtmlDocument需要完全信任?,.net,winforms,security,windows-services,dom,.net,Winforms,Security,Windows Services,Dom,HtmlDocument类具有以下属性: [PermissionSet(SecurityAction.LinkDemand,Name=“FullTrust”)] 公开密封类HtmlDocument 为什么??我能以某种方式覆盖它吗?或者我需要反映源代码并重新编译吗?HtmlDocument是IE的包装。IE允许ActiveX,天知道还有什么,因此(尤其)不安全。是的,但它的运行实际上需要完全信任,还是完全信任要求是代表微软的安全预防措施?如果我在没有完全信任属性的情况下重新编译HtmlDocum

HtmlDocument类具有以下属性:

[PermissionSet(SecurityAction.LinkDemand,Name=“FullTrust”)]
公开密封类HtmlDocument


为什么??我能以某种方式覆盖它吗?或者我需要反映源代码并重新编译吗?

HtmlDocument是IE的包装。IE允许ActiveX,天知道还有什么,因此(尤其)不安全。

是的,但它的运行实际上需要完全信任,还是完全信任要求是代表微软的安全预防措施?如果我在没有完全信任属性的情况下重新编译HtmlDocument,它会工作吗?