Separate out protected folder / common protected folder multiple sites

Is there a known way to separate out protected folder?

I'm interested in a setup where I have multiple sites, and they each use the same protected folder.  however, each will house its own themes, assets, etc.

It sounds like a symlink job to me.

The protected folder can be anywhere you want and doesn't have to be inside your web folder at all. In fact it's more safe to have it outside if you have the possibility to move it.

  1. Configure basePath in your application configuration.

  2. Change the path to your config file in index.php.