Note: You are currently viewing documentation for Moodle 3.1. Up-to-date documentation for the latest stable version of Moodle is probably available here: Vendor directory security check.

Vendor directory security check

From MoodleDocs
Revision as of 07:42, 19 September 2017 by Helen Foster (talk | contribs) (removing title)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


The vendor directory should not be present on public sites.

The directory vendor inside the Moodle dirroot contains various third-party libraries and their dependencies, typically installed by the PHP Composer. It may be needed for local development, such as for installing the PHPUnit framework. But it can also contain potentially dangerous code exposing your site to remote attacks.

It is strongly recommended to remove the directory if the site is available via a public URL, or at least prohibit web access to it.