Folders for a tenant

Topics: Customizing Orchard
Oct 30, 2013 at 8:26 PM
Edited Oct 30, 2013 at 8:26 PM
Hi

( FYI im still on version 1.6 )

What is the recommended practice for handling Folders with multiple Tenants.

We need for tenants to have their own Folders, each tenant is to have their own copy of a file ( set of files ).

my first thought was the App_Data/Sites/Tenant, but the SiteName != Default for the first tenant.

Creating a subdirectory by the
  1. SiteName (/Tenant1/files) - the issue I can think of is the site name can be changed.
  2. Id throws an exception
  3. SiteSalt - thought that this would be a bad thing to do. Security etc
  4. BaseUrl (/yoursite.com/files) - again this could change
Is there a unique ID which is created for each site? or a better way which I have not thought of.

Thanks
Dave
Coordinator
Oct 31, 2013 at 6:46 AM
What will be in those folders? What's wrong with the media library?