Data directory always outside web root?

There’s a safe way to do it after installation. It’s technically still somewhat exposing the data dir though I suppose.