当前位置:MCPD(70-536)题库

问题:

[单选] 你为Certkiller.com网站工作,你想要按照如下的要求改变当前的一个叫做CertkillerData.xml文件的安全设定:(1)您必须保留所有现有的继承的访问规则。(2)你必须阻止继承下来的日后能够修改的的访问规则。请选择能够实现的代码段:()

A .
B .
C .
D .

煤气管道的计算压力≥105Pa应进行()。 严密性试验。 强度试验。 只做强度试验。 Your company has an Active Directory forest that contains only Windows Server 2008 domain  controllers.     You need to prepare the Active Directory domain to install Windows Server 2008 R2 domain  controllers.     Which two tasks should you perform() Run the adprep /forestprep command.。 Run the adprep /domainprep command.。 Raise the forest functional level to Windows Server 2008.。 Raise the domain functional level to Windows Server 2008.。 企业战略管理的特点是() 分散性。 短期性。 柔性。 环境适应性。 一般情况下,在编制综合指数时应如何确定同度量因素? 价格评估机构资质证书(),价格评估机构应按规定到资质认定机关申请办理认定手续。 有效期满后30天内。 有效期满后15天内。 有效期满前15天。 有效期满前30天。 你为Certkiller.com网站工作,你想要按照如下的要求改变当前的一个叫做CertkillerData.xml文件的安全设定:(1)您必须保留所有现有的继承的访问规则。(2)你必须阻止继承下来的日后能够修改的的访问规则。请选择能够实现的代码段:()
参考答案:

  参考解析

检索文件的完全访问控制列表,阻止访问规则在将来继承,通过调用 Security.SetAccessRuleProtection()。最后调用来应用于文件的修订的 FileSecurity File.SetAccessControl()。
B 不会保留现有的访问规则。它将覆盖它们。
C 并不适的经修订的 FileSecurity 对象返回到该文件。
D FileSecurity.SetAuditRuleProtection() 用于为控制的审核规则

在线 客服