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?()
- A、Create the file by using a new FileStream object by passing the FileSecurity object as a parameter to the FileStream constructor.
- B、Create a new FileSecurity object.
- C、Apply the permissions by using the File class.
- D、Create a new FileSystem Access Rule object for each permission that you need,and add each rule to the FileSecurity object.
- E、Create a new FileSystem Audit Rule object and add it to the FileSecurity object.
正确答案:A,B,D
答案解析:有
![](/editor/images/201705/qrcode_for_gh_573e2a458573_258.jpg)
微信扫一扫手机做题