Web file manager Free Installation assistance Manual Home page

Manual and programmatic configuration of Folders and Users

  1. Manual folders and users setup at Notepad
  2. Setup users and folders programmatically

Manual folders and users setup at Notepad

Manual folders setup (without Admin panel)

You can setup folders for users in the Data\Folders.xml file. It has XML format and you can use any text editor to edit it (e.g. Notepad).
If you don't know XML or have other problems with manual folders setup, use the Admin panel online tool. See available values of folders' paths, user names in the Admin panel online tool description as well.

Below is the example of Folders.xml default content. It provides access to "%APPROOT%\DemoFolder\Folder1" for demo user and %APPROOT%\DemoFolder\Folder2 for admin group.

Manual users setup (without Admin panel)

You can setup users in the Data\Accounts.xml file.
Look at the example of Accounts.xml content below. Two users ("demo" and "admin") are created here. "Admin" is in the "admins" group. Using this example you may create unlimited number of your own users and organize them in groups.

Setup users and folders programmatically

You can setup users, their authentication, permissions and folders programmatically. I.e you don't need to use Admin panel and built-in XML files for storing data. This is needed if you have own database of users or you want programmatically setup users and folders.
All you need is to edit open source Global.asax file.

Global.asax stores sample code to setup users and folders. You should uncomment code in Application_Start event to use programmatic setup.

Below is the example of building list users, groups programmatically.