单项选择题
部署多个.NET的应用程序在你的计算机网络共享文件夹中,你的应用程序需要完全信任的正确执行,他们试图在电脑上运行该应用程序时, 收到安全性异常。您需要确保应用程序在用户计算机上充分信任的运行。你应该怎么做?()
A.Apply a string name to the applications by using the Strong Name tool (Sn.exe)
B.Use the security settings of internet explorer to add the shared folder to the list of trusted sites
C.Use the Code Access Security Policy tool (Caspol.exe) to add a new code group that has the full trust permission set. The new code group must also contain a URL membership condition that specifies the URL of the shared folder where your application reside
D.Grant the full trust permission set to the Trusted Zone code group by using the Code Access Security Policy Tool (Caspol.exe)
点击查看答案
相关考题
-
单项选择题
选择正确的选项()
A.A
B.B
C.C
D.D -
单项选择题
选择正确的选项()
A.A
B.B
C.C
D.D -
单项选择题
You create a class library that is used by applications in three departments of your company. The library contains a Department class with the following definition. public class Department { public string name; public string manager; } Each application uses a custom configuration section to store department-specific values in the application configuration file as shown in the following code. You need to write a code segment that creates a Department object instance by using the field values retrieved from the application configuration file. Which code segment should you use?()
A.A
B.B
C.C
D.D
