Chamilo LMS: Security Guide

Documentation > Security Guide

We recommend you don't take security issues too lightly. Chamilo is security-audited at least once a year, but you're never too sure. This list is a work in progress. Feel free to recommend additional measures by sending us an e-mail at info@chamilo.org.

Contents

  1. Disclosing server info
  2. Keeping up to date
  3. Using safe browsers
  4. Moving your configuration file out of the web directory

1. Disclosing server info

It is considered a safer behaviour not to disclose server information from your Chamilo page. In order to avoid both web server and PHP information disclosure, you might want to take the following actions:

2. Keeping up to date

Make sure you check our security issues page from time to time. Subscribe to our free security alerts mailing-list: http://lists.chamilo.org/listinfo/security or that you follow our security Twitter feed: http://twitter.com/chamilosecurity.

3. Using safe browsers

Additionnally to lacking the implementation of features that really improve the quality of your browsing the Internet, older browsers tend to have many unresolved security flaws. Using an old browser, you put in danger the security of your computer and the data it contains, but you can also put others in danger by letting crackers take control of it and attacking others.

To avoid being a risk to yourself and others, you should download and install a recent browser. We recommend the latest stable version of Firefox.

4. Moving your configuration file out of the web directory

It is considered unsafe to leave the configuration file inside the main/inc/conf/ directory, as it will be directly accessible for all users, which could lead crackers to download it, uninterpreted, and read through your configuration, which could lead to illicit access to your database if that one isn't well protected and many other stuff we'd prefer to avoid. To secure it, move the configuration file out of your web directory. If your Chamilo installation is in /var/www/, move your configuration to /etc/chamilo/configuration.php, for example. Then create a new main/inc/conf/configuration.php file, open it, and write the following:

<?php
require '/etc/chamilo/configuration.php';

This will prevent direct access to your settings and make it seem totally the same to Chamilo.


Authors