Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Security:Template

From MoodleDocs

This page forms part of the Moodle security guidelines.

What is the danger?

How Moodle avoids this problem

What you need to do in your code

What you need to do as an administrator

See also