In this section we are dealing with configuration settings, login via secure HTTP, and module security.
In the Notifications screenshot at the beginning of the chapter, you probably spotted the warning that the dataroot directory is directly accessible via the Web. Moodle requires additional space on the server to store uploaded files such as course documents and user pictures. The directory is called dataroot and should not be accessible via the Web. If this directory is accessible directly, unauthorized users can get access to its content.
To prevent this, move your dataroot directory outside the web directory, and modify
config.php by changing the
In externally hosted environments, it is often not possible to locate the directory outside the web directory. If this is the case, create a...