Question: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?
To answer, move the three appropriate actions from the list of actions to the answer area and arrange them in the correct order
A creare a new FileSecurity object.<br /><br />Create a new FileSystemAccessRule object for each permission<br />that you need and add each rule to the FileSceurity object.<br /><br />Create the file by using a new FileStream object by passing the <br />FileSecurity object as a parameter to the FileStream constructor.<br /><br />
B creare a new FileSecurity object.<br /><br />Create a new FileSystemAccessRule object for each permission<br />that you need and add each rule to the FileSceurity object.<br /><br />Create the file by using a new FileStream object by passing the <br />FileSecurity object as a parameter to the FileStream constructor.<br /><br />Apply the permission by using the File Class.<br /><br />
C Create a new FileSystemAccessRule object for each permission<br />that you need and add each rule to the FileSceurity object.<br /><br />Create the file by using a new FileStream object by passing the <br />FileSecurity object as a parameter to the FileStream constructor.<br /><br />creare a new FileSecurity object.
D creare a new FileSecurity object.<br /><br />Create a new FileSystemAccessRule object for each permission<br />that you need and add each rule to the FileSceurity object.<br /><br />Create the file by using a new FileStream object by passing the <br />FileSecurity object as a parameter to the FileStream constructor.<br /><br />Create the file by using a new FileStream object by passing the FileSecurity<br />object as a parameter to the FileStream Constructor.<br /><br />