Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By zeebo on
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
Yes, you set per site where
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
thanks
Yep that makes sense, I think I understand now. Thanks for the response.
/sites/www.site1.com/files is
/sites/www.site1.com/files is the public one.
It should mean /sites/www.site1.com/private