Just checking before I try this - Will Multi-site work with each site having it's own Private files directory outside the webroot?

If so can i safely assume that each site's files would be completely inaccessible from 1) people logged into one of the other sites and 2) people not logged in at all (e.g.search engines, hotlinkers, hackers)?

thanks
zeebo

Comments

farrington’s picture

Yes, you set per site where all its files while be stored. But you could also set up Drupal multi-site to share some/all uploaded files. You do that exactly the same way as with private/shared modules, themes etc.

Private:
/sites/www.site1.com/files
/sites/www.site2.com/files
/sites/www.site3.com/files

Shared:
/sites/all/files or
/files

zeebo’s picture

Yep that makes sense, I think I understand now. Thanks for the response.

nerdoc’s picture

/sites/www.site1.com/files is the public one.
It should mean /sites/www.site1.com/private