Difference between revisions of "Security information"

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search
Line 15: Line 15:
 
'''Hacks and cracks'''
 
'''Hacks and cracks'''
 
* Works with register_globals on or off (off highly recommended).
 
* Works with register_globals on or off (off highly recommended).
* Works with and without PHP safe_mode enabled (on recommended).
+
* Works with PHP safe_mode on or off (on recommended).
 
* Protection against SQL injection.
 
* Protection against SQL injection.
 +
* Protection against XSS injection (Cross Site Scripting).
 
* Protection against CSRF (Cross Site Request Forgery).
 
* Protection against CSRF (Cross Site Request Forgery).
  

Revision as of 20:58, 21 August 2009

Securite.png Alerts

Last update: 2009-08-21

No security bugs known at the moment.

Art.png Features

Dolibarr implements several security features. Among them :

Encryption

  • User passwords can be encrypted in database.
  • Database technical password can be encoded in the Dolibarr configuration file (conf.php).
  • Possibility to force HTTPS.

Hacks and cracks

  • Works with register_globals on or off (off highly recommended).
  • Works with PHP safe_mode on or off (on recommended).
  • Protection against SQL injection.
  • Protection against XSS injection (Cross Site Scripting).
  • Protection against CSRF (Cross Site Request Forgery).

Pages and files access

  • Pages and contents are protected by permissions (granted on groups or users) for each functional module.
  • Files saved by Dolibarr are stored in a different root directory than web application (so they can not be downloaded without passing by the Dolibarr wrapper).
  • Dolibarr directories content can't be accessed even if Apache option Indexes has be forgotten to on (should not).

Login protection

  • Delay anti brute force cracking on login page.
  • Graphical code (CAPTCHA) against robots on login page.
  • No passwords in logs, even in technical logs.
  • Internal logger to save permanently all Dolibarr events about user's administration and successful or failed logins.

Viruses

  • Possibility to run an anti-virus on every uploaded file.