Skip to Content
Programming .NET Security
book

Programming .NET Security

by Adam Freeman, Allen Jones
June 2003
Intermediate to advanced
714 pages
22h 8m
English
O'Reilly Media, Inc.
Content preview from Programming .NET Security

Name

FileIOPermissionAccess

Synopsis

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( )

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

.NET Framework Security

.NET Framework Security

Brian A. LaMacchia, Sebastian Lange, Matthew Lyons, Rudi Martin, Kevin T. Price
.NET Security and Cryptography

.NET Security and Cryptography

Peter Thorsteinson, G. Gnana Arun Ganesh
ASP.NET Core Security

ASP.NET Core Security

Christian Wenz

Publisher Resources

ISBN: 0596004427Supplemental ContentErrata Page