Security
This guide assembles some tips and recommendations around the security of your module.
- Read and follow the Yii Security Best Practises!
- Obviously use permissions to secure vulnerable sections of your module.
- Prevent guest access of sensitive data.
- Validate user input.
- Use
humhub\libs\Html::encode()
to encode view output provided by user input. - Prevent SQL Injections
- Also see the Administration Security Guide