SuiteCRM security hardening

SuiteCRM security hardening covers the PHP, database, web server, login, role and API settings that decide how exposed your CRM is. This page shows what to decide, build, verify and hand over.

On this page

What SuiteCRM security hardening involves before go-live

Hardening a self-hosted SuiteCRM 8 instance means fixing the runtime, patch level, web server, login, role and API configuration together, not one setting at a time. A server that holds customer records and pipeline data is only as strong as its weakest layer, and a tight login policy does little if the PHP version is out of support or the web server exposes files it should not. Before go-live, treat the review as one baseline covering every layer, then record who owns each setting after launch.

This is harder than it looks because the supported platform list moves. The SuiteCRM 8.10 compatibility matrix lists PHP 8.2, 8.3 and 8.4, Apache 2.4, several MariaDB and MySQL versions, and Linux, Unix or macOS hosts, so the reader must confirm which combination their instance actually runs against the matrix for the release they deploy. Patch releases carry only security and bug fixes, but they arrive on the SuiteCRM cadence, and the SuiteCRM 7.x and 8.x lines have different lifecycles. Check the SuiteCRM LTS and release lifecycle page to confirm which line still receives security fixes and which extended support release, if any, applies to the version in use.

Hardening changes must be tested before they reach production. The SuiteCRM migration documentation warns that a move may remove non-core files under the public/legacy folder and that customizations need review, so any change to web server rules, file permissions, authentication or custom code should run first on a staging instance restored from a current backup of files and database. Confirm with your implementation partner or SuiteCRM Ltd which custom files and extensions the instance depends on, so that a hardening change does not silently break a workflow or an integration the business relies on.

Which SuiteCRM components need hardening

A SuiteCRM 8 server is a stack of separate components, and each one has its own version, configuration and failure modes. The cards below cover the runtime, web server, database, login path, API credentials and file paths, so each can be checked on its own before the whole system is signed off.

PHP runtime

PHP executes every SuiteCRM request, so its version determines which security fixes you receive. SuiteCRM 8.10 supports PHP 8.2, 8.3 and 8.4. Confirm the installed PHP version is on that list and still receiving security updates from your operating system or packaging source. Also check that dangerous functions and file upload settings match the SuiteCRM installation guidance for your release.

Supported PHP range
8.2 to 8.4
Compatibility matrix

Apache 2.4 web server

The web server decides which files are reachable from the internet and which headers and TLS settings clients receive. SuiteCRM 8.10 is supported on Apache 2.4. Confirm that only the public web root is served, that directory listing is off, and that TLS terminates with current protocol and cipher settings. Review access logs and error logs for requests aimed at configuration or vendor paths.

Compatibility matrix

MariaDB or MySQL database

The database holds all CRM records, user accounts and password hashes, so its exposure and access rights matter most after the application itself. SuiteCRM 8.10 supports MariaDB 10.6, 10.11, 11.4 and 11.8, and MySQL 8.0 and 8.4. Confirm the database listens only on the internal network, the SuiteCRM account has only the privileges it needs, and backups are encrypted and tested.

SuiteCRM login path

Login is set by AUTH_TYPE, which is either LDAP with AUTH_TYPE=ldap or SAML with AUTH_TYPE=saml. Each mode moves trust to a different directory or identity provider. Confirm which mode is active and that local fallback logins are restricted. For SAML, note that logging out at the identity provider does not end the SuiteCRM session, so session lifetime and logout procedures need a deliberate policy.

SAML configuration reference

API clients and credentials

Integrations that call the SuiteCRM API authenticate with credentials that often outlive the people who created them. Each client account is a path into CRM data, so it needs its own identity, minimal role membership and a rotation plan. Confirm every API client has a named owner, the lowest role that works, and a documented process for revoking its secret. Check that secrets are kept in a secrets store, not in code or configuration files in the repository.

Public and legacy file paths

Files under the public and legacy folders are served directly, and the migration documentation warns that a move from SuiteCRM 7 may remove non-core files under public/legacy. Custom code placed there can become exposed or silently lost. Confirm that writable directories hold no executable code, that customizations are inventoried, and that the paths are reviewed after every patch or migration.

Before you migrate

Which hardening choices fit your environment

This table compares the main hardening decisions for a SuiteCRM server: release track, login method, hosting model and API credential design. Read each row against your own risk tolerance, staffing and identity setup, then check the operational cost in the right-hand column before choosing.

DecisionWhen it fitsOperational cost
SuiteCRM 8 minor cycleYou can test and apply minor releases about every eight weeksRegular staging tests, customization checks and upgrade windows
SuiteCRM 7.15 under extended security fixesExisting 7 estate that cannot migrate yet, with security fixes until January 2028Plan a 7 to 8 migration before support ends, and confirm 8 LTS status
LDAP loginUsers are in Active Directory or LDAP and you want direct directory checksBind account management, directory connectivity and TLS settings to maintain
SAML loginYou run a SAML identity provider such as Microsoft Entra ID or KeycloakIdP configuration, certificate rotation and logout limits to manage
Self-hostingYou must keep data in your own cloud, data center or networkYour team owns patching, PHP and database upgrades, backups and monitoring
SuiteCRM HostedYou want the vendor to run the hosting environmentHosting fees and less direct control over server configuration to confirm
Dedicated API service accountsEach integration needs its own identity, role and audit trailAccount setup, role mapping and periodic credential rotation
Shared API credentialsOnly a single low-risk integration exists and no per-client audit is neededHarder to revoke one client and to trace actions to a source

Hardening sequence for a SuiteCRM 8 server

This sequence takes a SuiteCRM 8 server from an unknown baseline to a documented configuration that matches a supported stack, a current patch release, a locked-down web root, controlled login and scoped API access. Each step ends with a check the reader can verify before moving on.

  1. Confirm supported PHP, Apache and database versions

    The platform team compares the PHP, Apache, and MariaDB or MySQL versions on the server against the SuiteCRM 8 compatibility matrix for the release they plan to run. Where a version is outside the matrix, it is scheduled for change before any other step, because later hardening depends on a stack the vendor supports. The step closes when a written version record shows each component matches a listed entry, with the operating system confirmed as Linux, Unix or macOS.

  2. Back up files and database and test on staging

    The administrator takes a full copy of the application files and the database, then restores both into a staging instance that mirrors production. Custom code, language files and anything under the public/legacy folder are reviewed, since migration and upgrade steps can remove non-core files there. The step closes when a restore from the backup brings up a working staging instance and the team has a list of customizations to retest.

  3. Move to the current 8.x patch release

    The engineer checks the SuiteCRM-Core releases page for the newest 8.x patch and applies it on staging first, because patch releases carry security and bug fixes without new features or database changes. Production is updated only after the staging smoke tests pass. The step closes when the running version shown in the admin console matches the release tag, and the change record names the release and the date it was applied.

  4. Lock down the web server and enable HTTPS

    The web engineer points the virtual host at the public directory only, blocks direct web access to configuration, cache, log and source folders, restricts administrative paths to a management network or VPN where the organization allows it, and enforces HTTPS with a valid certificate. Directory listing is turned off. The step closes when requests to configuration and log files return denied responses, admin paths fail from an untrusted address, and the site loads only over TLS.

  5. Configure LDAP or SAML and close bypass paths

    The identity engineer sets AUTH_TYPE to the chosen method, either LDAP or SAML, and tests sign-in with a standard user and a disabled account. Any local or legacy login route that skips the chosen identity provider is identified and disabled or restricted to a named break-glass account. Because SAML logout at the identity provider does not end the SuiteCRM session in 8.7.0 and later, the team documents that limitation and sets session timeouts. The step closes when disabled accounts cannot sign in and a bypass test confirms the local route is unavailable.

  6. Review admin roles and security groups

    The security administrator exports the list of users with administrator rights, the role assignments and the security group memberships, then removes access that no current job requires. Shared or generic accounts are retired or assigned to named owners, and the password policy is confirmed against the organization's standard. The step closes when a signed review lists every administrator and group, each entry has an owner and a business reason, and no unowned privileged account remains.

  7. Rotate and scope API credentials

    The integration owner inventories every API client, OAuth credential and integration account, then rotates each secret and limits it to the modules and actions the integration needs. Credentials are moved out of code and configuration files into the secret store the organization already uses, and old credentials are revoked after the integrations are confirmed working. The step closes when a test call with each rotated credential succeeds, a call outside its scope is refused, and the inventory lists an owner and rotation date for each credential.

  8. Document the settings and set the review cycle

    The platform owner records the final versions, web server configuration, authentication settings, role and group decisions, credential owners and backup and restore results in a single hardening baseline. The document names who approves future changes and how each patch release is checked before production. The step closes when a second engineer can rebuild the configuration from the document and the team has booked the next review in its change calendar.

Login, web server and API controls to review

SuiteCRM 8 selects its login method through the AUTH_TYPE setting. Setting it to ldap enables LDAP authentication built on the Symfony Security LDAP authenticators, and setting it to saml enables SAML authentication built on the nbgrp onelogin-saml-bundle. Confirm which value is in use and that local password login is limited as your policy requires. From SuiteCRM 8.7.0, the SAML implementation does not support IdP-initiated logout or POST binding to the logout service, so signing out at the identity provider does not end the SuiteCRM session. Plan for that gap explicitly.

  • Login method: Record the AUTH_TYPE value, the directory or identity provider it points to, and who approved it.
  • Logout gap: Document that identity provider logout leaves the SuiteCRM session open and decide how users end sessions, such as a sign-out in SuiteCRM and short session lifetimes.
  • Session timeouts: Set session lifetime and idle timeout in the identity provider and confirm with a test login how SuiteCRM applies them.
  • Password rules: Set length, complexity, lockout and rotation rules in the directory or identity provider, not in SuiteCRM alone, and test that they block weak passwords.
  • Multi-factor: Require multi-factor authentication at the identity provider for every account that can reach SuiteCRM.

Check that a disabled or removed user in the directory cannot still reach an open SuiteCRM session.

How users, identity providers and API clients reach SuiteCRM

Traffic starts in two places: browsers and API clients on the public side, and the identity provider that checks logins. Both enter through HTTPS to the Apache web tier, which passes requests to the SuiteCRM 8 application on PHP. The application then talks to the database and, when enabled, to an LDAP directory or SAML identity provider. Check where session cookies and API credentials are issued, which hop terminates TLS, and whether the database and directory are reachable only from the application tier.

Requests cross one trust boundary at Apache, and credentials cross the internal boundary to identity and data stores.

How to review roles and security groups without breaking workflows

A hardening review of roles and security groups should start from a written list of who needs what, not from the permissions a default install or a previous administrator left behind. Build that list by role: which sales, service, marketing and support staff need to view, edit, export or delete each module, which records they own, and which administrative functions (Studio, Module Builder, user management, scheduler, email settings) belong to a named small group. Then compare the current assignments against that list. The usual findings are administrator rights held by people who only need to edit records, shared accounts used by several staff or integrations, and access left in place after someone changes teams or leaves. Each shared account and each administrator should have a named owner and a reason, and anything without one is a candidate for removal.

The review also has to account for customizations and workflows that act on records. A workflow, logic hook or scheduled job often runs under a system context and changes fields, assigns ownership or sends email, so narrowing a role can silently stop an automation or, in the other direction, let a process act on records the user was never meant to touch. Before changing anything, list each workflow, custom module and integration account, note which roles or users it depends on, and test what happens to it under the proposed permissions. Confirm with your SuiteCRM Ltd documentation or implementation partner how your installed version applies security groups to workflow actions, because that behavior is easy to assume incorrectly.

Export the current role and security group assignments first, and keep the export as the baseline for the change record. Load the same export into a staging instance restored from a recent backup, apply the proposed changes there, and walk through the main user journeys for each role: create and edit a lead, close an opportunity, log a case, run a campaign and trigger each automation you listed. Only after those checks pass should the change go to production, ideally in a small batch with a rollback copy of the previous assignments ready. Repeat the access review on a fixed schedule and whenever staff change roles, because stale access returns quickly without a process that removes it.

What drives hardening effort and how to keep it down

This table lists the factors that change how much review, testing and evidence work a SuiteCRM hardening project needs, and what effect each one has. Read each row as a lever: the cost-reduction column shows which decisions made early keep later review and retesting smaller. The main takeaway is that environment count, customization volume and integration credentials usually add the most work, so they are worth settling before scoping begins.

DriverEffect on effortHow to reduce it
User count and role spreadMore users and more distinct roles add access review time and more role combinations to test after each change.Group users into a small set of security groups and roles before hardening, and remove accounts that no longer need access.
Custom modules and customizationsEach custom module, field or logic hook needs its own permission check and retest after patches and upgrades.Keep customizations few and documented, and confirm which ones touch files under the public/legacy folder before any migration or patch work.
Integrations using API credentialsEach integration adds a credential to inventory, rotate, scope and monitor, and a new path to test for data exposure.Use one dedicated, least-privilege account per integration, store secrets outside code, and record which system holds each credential.
Number of environmentsProduction, staging and test each need the same patch level, configuration review and access checks, so effort grows with each copy.Keep environments built from the same configuration script, and confirm the staging copy matches production before testing.
Identity provider complexityConnecting LDAP or SAML adds directory mapping, attribute checks and session behavior tests, including the logout limitations of the SAML setup.Choose one identity source for SuiteCRM 8 login, confirm group mapping with the identity team early, and document the logout behavior for users.
Compliance evidence requirementsAssessors often ask for configuration records, patch history, access reviews and test results, which adds documentation time on top of the technical work.Agree the evidence list with the compliance team at scoping, and collect it as each control is implemented rather than at the end.
Platform version currencyRunning a PHP, database or SuiteCRM version outside the supported matrix adds upgrade work before hardening can start.Confirm the current compatibility matrix and plan patch releases on the minor release cycle so hardening starts from a supported stack.

How to verify the hardened server and confirm it fails safely

Verification starts by proving the running stack matches what the hardening plan assumed. Check the live PHP, Apache and database versions on the server itself, not in the build notes, and compare them against the SuiteCRM 8 compatibility matrix. Then confirm that only the public web root is reachable from outside. Request known paths such as the configuration directory, the .env file, logs, cache and backup folders, and any leftover files under public/legacy after a migration. Each should return a refusal or a not-found response, not file contents. Repeat these requests through every hostname and load balancer route that serves SuiteCRM, because a second virtual host often carries the gap that the primary one closed.

Next, test the login controls with real attempts. Submit invalid credentials and confirm the error does not reveal whether the username exists. Lock or disable a test account in the directory or local user table and confirm it cannot sign in through the local form, LDAP or SAML, and that existing sessions end when the account is disabled. Check the AUTH_TYPE value in the running configuration so you know which path is active. For SAML, sign out at the identity provider and confirm, against the SuiteCRM 8.7.0+ SAML configuration reference, that the SuiteCRM session stays open, then make sure your written procedure tells users to log out of SuiteCRM directly. Confirm that API calls without a valid token fail, and that a credential revoked in the admin screen stops working on the next request.

Failure testing asks what the system does when a dependency breaks. Planned tests include stopping the directory service or blocking its port and confirming that SuiteCRM refuses sign-in rather than falling back to a weaker local path, and that the error page exposes no stack trace. Replace the SAML signing certificate in a staging copy with an expired or mismatched one and confirm that logins fail closed and that the failure is written to the log with enough detail to diagnose it. Record the expected behavior in writing before the test, so that a pass means something to the auditor and the operations team. Safe behavior is consistent: access is denied, no data is exposed, the event is logged and an administrator is alerted. Confirm the alerting path with your own monitoring team, since the notification channel is part of the control.

What to monitor, patch, back up and document after hardening

Hardening is a starting state, not an end state. The six items below keep a SuiteCRM 8 server at the baseline you set after the work is done: what you watch, how you patch, how you recover, and how you prove what is running.

Monitor login failures and admin actions

Collect authentication failures from the web server and SuiteCRM logs, and record every change to admin settings, users, roles and security groups. Record who reviews these logs, how often, and where they are kept. Confirm that your SSO identity provider logs are retained alongside SuiteCRM logs, because a SAML logout at the identity provider does not end the SuiteCRM session and that gap is easy to miss in an investigation. Set the review cadence in writing before go-live.

Patch on the minor and security cycle

Track SuiteCRM 8 minor releases, which arrive roughly every eight weeks, and security-only patch releases, which add no features and no database changes. Record the installed version, the PHP and database versions against the compatibility matrix, and the date each release was reviewed. Test patches on staging with your customizations before production, and keep a dated record of what was applied and what was deferred.

Minor release cycle
8 weeks
Core release notes

Back up files and database with restore tests

Back up both the application files and the database, and store copies outside the server. A backup that has never been restored is an assumption, not a control. Record the backup schedule, retention period, encryption method, and the date of the last successful restore test to a clean environment. Include the custom files and any content under the legacy folder in the backup scope, since migrations can remove non-core files there.

Rotate certificates and credentials

Build a register of every credential SuiteCRM depends on: database accounts, API client credentials, LDAP bind accounts, SAML signing and encryption certificates, TLS certificates and mail relay logins. For each, record the owner, the storage location, the rotation interval you chose and the date of the last change. Confirm with your identity provider and directory team how signing certificate renewal will be coordinated with SuiteCRM so logins do not break during rollover.

Review the LTS and release lifecycle

Check the SuiteCRM LTS page regularly to confirm which release line is supported for security fixes and when support ends. SuiteCRM 7.15 receives security fixes until January 2028, and no SuiteCRM 8 extended support release had been nominated at the time of research, with a nomination expected by Q3 2027. Record the support end date for your release line and the planned decision point for moving to a supported line, so the date does not arrive unnoticed.

LTS and lifecycle

Document the hardened baseline

Write down the baseline as it was accepted: PHP and database versions, web server configuration, TLS settings, enabled authentication type, password and session policy, role and security group design, API access, and the backup and monitoring setup. Store it under change control and update it with every patch, certificate change or configuration change. Auditors and your own security team will ask for this record, and it is the fastest way to tell whether production still matches the approved design.

Questions buyers ask about SuiteCRM hardening

Can our own team harden a SuiteCRM server without an outside partner?

Yes, a capable internal team can harden SuiteCRM, provided it works from the official documentation and a staging copy of the instance. The work covers the PHP and database versions in use, the web server configuration, role and security group review, password and SSO policy, and how API credentials are stored and rotated. The effort depends on how many customizations, integrations and user roles exist, and on whether your team has done this kind of Linux and web server hardening before. Teams that lack that experience, or that need the work finished on a fixed date, often bring in a partner for the review and the retest.

How long does SuiteCRM security hardening take?

The duration cannot be stated responsibly without seeing your environment. The main drivers are the number of servers and tiers, how many roles and security groups need review, whether SAML or LDAP is already in place, how many API integrations hold credentials, and how much customization sits in the public and custom folders. Before anyone commits to a timeline, ask for a written scope that lists each of these items and the test steps for each. A fixed-scope agreement should state its start and finish conditions in writing.

What do we need to provide for SuiteCRM hardening work?

The work needs access and information from your side before it starts. Typically that includes:

  • Administrative access to the SuiteCRM servers, database and web server, or a supervised session where your staff run the commands
  • Administrators for your identity provider, if SAML or LDAP login is in scope
  • A list of user roles, security groups and the people who hold each one
  • An inventory of API integrations, the accounts they use and where their credentials are stored
  • A staging environment that matches production closely enough to test configuration changes safely

Missing items usually add time, so confirm them during scoping.

Does SuiteCRM Ltd support cover hardening the instance?

SuiteCRM Ltd support is not automatically the same as hardening work. SuiteASSURED is a paid support package, and SuiteCRM Hosted is a paid hosting service, and both are separate from the free software. Their scope, response terms and what they include for configuration review should be confirmed directly with the vendor. Ask in writing whether the package covers server hardening, role and security group review, and help with SSO and API credentials, or whether those items fall to your team or a partner. Hardening your self-hosted server is a different job from running a hosted service, so check which party is responsible for each control.

Does hardening SuiteCRM make us compliant?

No. Hardening reduces risk and prepares the controls and evidence that a compliance assessment will examine, but it does not make a system compliant on its own. DeployOpen prepares systems, controls and evidence for compliance assessments, and it does not issue audit reports, attestations or certifications. Independent auditors and certification bodies perform the assessment. Before you start, identify which framework applies to your organization, map your hardening controls to its requirements, and agree with your assessor which evidence they will accept.

What should a SuiteCRM hardening quote include?

A useful quote states the scope in writing, with each item named and bounded. It should list the environments covered (production, staging, any hosted copy), the PHP, database and web server versions reviewed, the roles and security groups in scope, the identity provider integration if any, and the API credentials to be reviewed. It should name the deliverables, such as a findings report, fix list, configuration baseline and retest results, and state what is one-time and what recurs, such as patch review on each minor release cycle. Ask who performs each step, what the client must provide, how changes are tested on staging before production, and what happens if the environment differs from what was described.

How DeployOpen scopes, hardens and hands over SuiteCRM servers

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside the client's own infrastructure. For SuiteCRM security hardening, we start from a written scope covering the server, the database, the login method and the API credentials, then test and hand over the result with the evidence your security and compliance teams need to review it.

How we scope

  • We confirm the current SuiteCRM version, PHP, web server and database versions against the published compatibility matrix.
  • We review which roles, security groups and login methods are in use before agreeing what will change.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before any work starts.

How we build

  • We apply hardening changes to web server, PHP and database settings in a staging copy first, then in your environment.
  • We tighten role and security group assignments, password rules and SSO settings, and record each change.
  • We test API credential handling and remove unused or over-privileged integration accounts before sign-off.

How we hand over

  • You receive a configuration record, the change log and a list of settings that must be reviewed at each patch release.
  • We document the patch routine, backup and restore steps and the remaining risks your team has accepted.
  • We prepare control evidence for your internal reviews and independent auditors, who issue any formal assessment.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after the initial hardening work.
  • Retainer work can cover applying security patch releases and retesting configuration after each minor release.
  • Ask us to confirm which support tasks are included, and how requests and response expectations are written into your agreement.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.