Skip to content

Folder Structure & File Permissions

Folder Structure (Web Application)

The deployed site should mirror the /app folder from the solution, including:

  • /App_Code
  • /bin
  • /config
  • /controllers
  • /css
  • /fonts
  • /images
  • /js
  • /pages
  • /reports
  • /Views
  • web.config
  • touch-settings.json

Additional folders may be created by BLOB adapters (e.g. under App_Data or custom paths) for file storage.

Permissions

Assign permissions on the web root as follows:

  • Read & Execute for IIS worker process identity on all application folders.
  • Modify / Write where required:
  • BLOB storage folders (if using filesystem-based BLOB adapters).
  • Temporary or cache folders (if configured).

Under shared hosting, confirm with the provider how permissions are applied and ensure:

  • The application can write where necessary for attachments.
  • No sensitive directories are exposed via direct HTTP access.

Revisit this section if BLOB adapters are reconfigured to use different locations.