upvote
I'm struggling to see any reason to use PHP in the first place if it can run without access to private data.

At that point I would not need a backend.

reply
Yes, there have been decades of talk about this already—ensuring you isolate/jail the PHP-related processes and run them with an unprivileged user, etc.
reply
It's usually scripts that can write to /tmp and run unrelated stuff with web user rights. This seems more involved.
reply