可学答题网 > 问答 > MCPD(70-536)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

You are developing a


You are developing an application to create a new file on the local file system.You need to define specific security settings for the file. You must deny the file inheritance of any default security settings during creation.What should you do?()

  • ACreate the file by using a new FileStream object by passing the FileSecurity object as a parameter to the FileStream constructor.
  • BCreate a new FileSecurity object.
  • CApply the permissions by using the File class.
  • DCreate a new FileSystem Access Rule object for each permission that you need,and add each rule to the FileSecurity object.
  • ECreate a new FileSystem Audit Rule object and add it to the FileSecurity object.
参考答案
参考解析:
分类:MCPD(70-536)题库
相关推荐

1、You are developing a

You are developing an ASP.NET Web application. You create a master page. The master&#81...

2、You are developing a

You are developing a Hotel Booking application for a travel company. The users request&...

3、You are developing a

You are developing an ASP.NET Web application. You create a master page. The master&#81...

4、You are developing a

You are developing an ASP.NET Web page that contains input controls, validation controls,&#...

5、You are developing a

You are developing an ASP.NET Web application. Application data is stored in a Microsof...

6、You are developing a

You are developing an ASP.NET MVC 2 Web application. The application contains a control...