FileIOPermissionAccess

FileIOPermissionAccessECMA 1.0, serializable, flag

System.Security.Permissions (mscorlib.dll)enum
public enum FileIOPermissionAccess {
   NoAccess = 0x00000000,Read = 0x00000001,Write = 0x00000002,Append = 0x00000004,
        PathDiscovery = 0x00000008,AllAccess = 0x0000000F
}

The FileIOPermissionAccess enumeration contains values that are used with the FileIOPermission class to specify the type of access represented by a FileIOPermission object. Read represents permission to read from a file or folder, and Write represents permission to write to, delete, or overwrite files and folders; Write does not encompass the ability to Read. Append represents the ability to append material to a file or folder, as well as to create new folders. The PathDiscovery value represents the ability to access information from a file or folder's path, which could provide username and folder structure information that would be useful to malicious code. AllAccess includes the combined permissions of the Read, Write, Append, and PathDiscovery values.

Hierarchy

System.Object System.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) FileIOPermissionAccess

Returned By

FileIOPermission.{AllFiles, AllLocalFiles}

Passed To

FileIOPermission.{AddPathList( ), AllFiles, AllLocalFiles, FileIOPermission( ), GetPathList( ), SetPathList( )}, System.Security.Policy.FileCodeGroup.FileCodeGroup( )



    Part V: API Quick Reference