- addPathToWhiteList
void addPathToWhiteList(string path)
Adds a path to the white-list.
- append
void append(FileAccessSecurity security, string file, string content)
Appends to a file securely.
- exists
bool exists(FileAccessSecurity security, string path)
Checks whether a file or directory exists securely.
- makeDir
void makeDir(FileAccessSecurity security, string path)
Makes a directory securely.
- readBuffer
ubyte[] readBuffer(FileAccessSecurity security, string file)
Reads the buffer of a file securely.
- readText
string readText(FileAccessSecurity security, string file)
Reads the content of a file securely.
- remove
void remove(FileAccessSecurity security, string file)
- removeDir
void removeDir(FileAccessSecurity security, string path)
Removes a directory securely.
- write
void write(FileAccessSecurity security, string file, string content)
Writes to a file securely.
Copyright © DiamondMVC 2019