Skip to content

Best Practices

Good application security starts with good operational security. If your server or network is compromised, FOSSBilling cannot protect you on its own.

  • Apply operating system security patches promptly
  • Keep FOSSBilling updated to the latest version
  • Update all server software (web server, database, PHP)

See Updating FOSSBilling for more information about keeping FOSSBilling updated.

  • Don't run services as root — use sudo when needed
  • Use SSH keys instead of passwords for server access
  • Disable root login over SSH
  • Use a firewall to close unnecessary ports
  • Don't expose your database to the internet unless absolutely necessary
  • Use strong, unique passwords for database accounts
  • Limit database user privileges to what's required

Use HTTPS in production with a valid TLS certificate.

See Securing FOSSBilling for HTTPS and session guidance and the Configuration File reference for settings and defaults.

  • Use strong, unique passwords for admin accounts
  • Consider restricting admin panel access by IP if possible
  • Regularly review admin activity logs

We continue to improve FOSSBilling's security posture. Keep an eye on:

See something concerning? Report it responsibly.