Prove Moodle dataroot is not on the public hostname
#moodle #php #security #webdev A Moodle™ install that looks healthy on /login/index.php can still be serving student submissions, session files and backup zips from a directory the browser can reach. The directory is $CFG->dataroot. Moodle stores uploaded files there on purpose. The web server is not supposed to. The official…