Note: You are currently viewing documentation for Moodle 4.0. Up-to-date documentation for the latest stable version of Moodle may be available here: Security.

Development talk:Security

From MoodleDocs

I am working on a revision of these guidelines. I am going to hack around on this talk page before copying the result to the main page.

Start of new page contents.


This page describes how to write secure Moodle code that is not vulnerable to anything that evil people my try to throw at it.

The page is organised around the common types of security vulnerability. For each one, it explains

  1. what the danger is,
  2. how Moodle is designed to avoid the problem, and
  3. what you need to do in your code to keep Moodle secure.

The explanation of each vulnerability is on a separate page, linked to in the list below.

This page also summarises all the key guidelines.


Common types of security vulnerability

  • Unauthenticated access
  • Unauthorised access
  • Cross-site request forgery (XSRF)
  • Cross-site scripting (XSS)
  • SQL injection
  • Command-line injection
  • Confidential information leakage
  • Configuration information leakage
  • Session fixation
  • Denial of service
  • Brute-forcing login
  • Insecure configuration management
  • Buffer overruns, and other platform weaknesses
  • Social engineering

Summary of the guidelines

  • TODO


See also

CategoryDeveloper Category:Security


End of new page contents.

Please comment below.