Chatilo
USDPrices shown in US dollars Sign in Start free trial
For platform admins

Security checklist

The checks to make on your server and in the admin panel so your Chatilo installation, its keys and your customers' data stay protected.

Last updated

On this page
  1. On the server
  2. Keys and secrets
  3. Admin accounts
  4. Sign-ups and partners
  5. Updates
  6. Common problems

Go through this list after installing and again after any server move. Every item is something Chatilo relies on.

On the server

  • The web root is the public folder. public/index.php is the only PHP file meant to be reachable. If the web root points one level up, config/, storage/ and the code become downloadable. Check that https://YOUR_DOMAIN/config/config.php and https://YOUR_DOMAIN/storage/ do not return a file.
  • The site runs on HTTPS and the Site URL starts with https://. Sign-in cookies are marked secure only over HTTPS, and webhook addresses are built from the site URL.
  • Files belong to the site user. Run the cron job and the bin/ tools as that user, not as root. bin/update.php refuses to change anything when run as a different user unless you add --any-user.
  • config/config.php is private. The installer sets it to mode 0640. It holds the database password and the app key. Do not commit it, email it or leave copies in the web root.
  • config and storage are writable only by the site user and the web server's PHP user, not by everyone.
  • Debug is off. In config/config.php, 'debug' must be false on a live site. When it is true, error pages show the error text and the file path to visitors.
  • The installer stays locked. Never delete storage/installed.lock or config/config.php on a live site. With either missing, the next visitor gets the installer.
  • Backups are taken and stored off the server. See Back up and restore.

Keys and secrets

  • Guard the app key. It is the key value in config/config.php. It encrypts the access tokens, API keys and passwords stored in the database. Anyone with the key and a database copy can read them; without the key nobody can, including you. Back it up with the database and never change it by hand.
  • Set a webhook secret for every gateway you use. Razorpay's Webhook secret, Stripe's Signing secret and Revolut's Webhook signing secret are how Chatilo knows a payment event is real. Events without a valid signature are rejected. See Set up payment gateways.
  • Use live keys only on the live site. Test with test or sandbox keys first, then replace them.
  • Keep the update signing key off the server. The private key that signs update packages stays on the computer where you build them, outside the project folder, with a backup. The server only ever holds the public key, and it can only be set from the command line. See Build an update package.

Secrets you save in Platform settings are stored encrypted and never shown again; a saved field only shows Saved. Leave empty to keep it.

Admin accounts

  • Use a long, unique admin password. The installer accepts 8 characters as a minimum; choose much longer.
  • Give platform admin rights to as few people as possible. Open Users, click Manage on a user and check who has Platform admin (full access to this admin panel) ticked. A platform admin can read every workspace and install software.
  • Disable accounts that should no longer sign in. In the same dialog set Sign-in to Disabled.
  • Review the Audit log. It records plan changes, sign-ins as a customer, password resets, settings changes and software updates, with the admin's name and IP address. See Read the audit log.
  • Pass temporary passwords privately. When you reset a user's password, the temporary password is shown once. Send it over a private channel and ask the user to change it.

Built-in protections you do not need to configure: sign-in is limited to 8 attempts in 15 minutes for the same email and IP address; installing, rolling back or recovering an update asks for your password again; forms are protected against cross-site request forgery; and session cookies are HTTP-only.

Sign-ups and partners

  • Block throwaway email domains on the System page, under Email domains that can’t sign up.
  • Close sign-ups if you do not want them. Untick Let new customers sign up in Platform settings.
  • Approve partners yourself. Keep Who can become a partner on Anyone can apply; I approve each one, or switch partner sign-up off.
  • Decide which partners may sign in as their customers. The May sign in as their customers box on a partner's page controls it. Each such sign-in is written to the Audit log.

Updates

  • Install only packages you built and signed yourself.
  • Read the review page before confirming: the signature must show Signature verified.
  • See Install a software update.

Common problems

Error pages show file paths

'debug' is true in config/config.php. Set it to false.

A stranger reached the installer

storage/installed.lock or config/config.php was deleted or the site was copied without them. Restore them from backup. If the installer was completed by someone else, treat the installation as compromised: restore the database and config/config.php from backup.

Cookies on this site

We use the cookies needed to run the site and keep you signed in. With your OK we also remember choices you make here, such as the currency for prices. We don’t use advertising or tracking cookies. Cookie policy