This example demonstrates how to create a custom FileSystem provider and assign permissions to each folder or file. This example uses two tables.
The first one - FileSystemItems - contains all the files and folders.
The second one - PermissionsSet - contains all the permissions assigned to folders or files.
It is required only to create a custom FileSystem provider and additionally override the GetFilePermissions and GetFolderPermissions methods that are used to gather permissions.
See also: ASPxFileManager Permissions