What SuiteCRM login throttling does and when to tune it
SuiteCRM login throttling slows repeated failed sign-ins, so an attacker guessing passwords on the login page gets fewer attempts per time window. The control is set on the SuiteCRM instance itself, not in the network, which means it protects the application wherever it is reached from, but it does not replace network-level rate limiting or a web application firewall. If you run self-hosted SuiteCRM 8 and need to limit password guessing, start by confirming the default thresholds and the setting name LOGIN_THROTTLING_MAX_ATTEMPTS against the documentation for the exact release you run, because the behavior can differ between releases. This page does not give throttling figures unless they have been confirmed for that release, so check the SuiteCRM 8 configuration documentation and your own test results before you change anything.
Tuning is worth the effort when the risk of guessing is high. The clearest cases are a login page reachable from the internet, a shared or generic account that many people sign in to, and a password or lockout policy from your security team that requires a specific behavior, such as a fixed number of attempts before a wait. For internal-only deployments that already sit behind single sign-on, the throttling setting matters less, but it still applies to any local accounts left in place for administration. Before you change the value, decide what a legitimate user should experience after a mistyped password, and who will handle the support calls when a locked-out user cannot sign in.
Treat tuning as a change to test on a staging instance first. Record the current behavior with a few deliberate failed sign-ins, change one setting at a time, and confirm the result in the same release you run in production. Ask your implementation partner or SuiteCRM support to confirm how throttling interacts with your login method, especially if you use LDAP or SAML, because the place where credentials are checked changes what the application can count. Document the final values and the reason for them so the next upgrade review knows what to re-test.
Throttling runs before any credential is checked
The request starts in the user's browser and crosses the trust boundary at the firewall or reverse proxy before reaching the web server and the SuiteCRM login controller. The controller asks the throttling check whether the account or source has exceeded its failed-attempt limit, and reads the count from the failed-attempt counter. Only when the check allows the attempt does the request reach the authenticator, whether local password, LDAP or SAML, and then the identity store. A blocked attempt returns a refusal to the browser without any credential verification. When you tune throttling, confirm which layer keeps the counter and whether your proxy also limits requests.
General illustration of the login request path, not a confirmed internal SuiteCRM design.
Which throttling settings to tune and when each fits
This table compares the throttling controls a team can change for SuiteCRM 8 login, from the application setting to network-level limits. Read each row for when it fits, what it protects against, what it breaks, and what to confirm in the release documentation before changing it. The main takeaway is that application throttling and network controls work at different layers, and tuning one without the other usually leaves a gap or causes avoidable lockouts.
| Setting or control | When it fits and what it protects against | What it breaks and what to confirm |
|---|---|---|
| Failed attempt limit (LOGIN_THROTTLING_MAX_ATTEMPTS) | Fits when the default failed-attempt threshold is too loose or too strict for your user base. It slows password guessing against individual accounts. | Too low a value locks out users who mistype passwords, and it can lock service accounts used by integrations. Confirm the variable name, accepted values and the default for your exact release in the SuiteCRM 8 configuration docs. |
| Wait or lockout duration | Fits when you need a longer pause after repeated failures, for example after a burst of guessing against one account. It raises the cost of sustained guessing. | Long waits generate help desk tickets and can be used to deny service to a real user by triggering lockouts deliberately. Confirm whether the wait is fixed, how it resets and whether a successful login clears the counter. |
| Symfony rate limiter options | Fits when the release exposes limiter settings that control the window, policy and storage backend for login attempts. Useful for consistent counting across several web nodes. | A per-process or local storage backend may not share counts across load-balanced nodes, which weakens protection. Confirm which limiter options the release exposes, the storage backend it uses and whether it is shared across nodes. |
| Reverse proxy or WAF rate limits on the login path | Fits when you want blocking before requests reach PHP, and when attacks come from many accounts or addresses. Protects the login endpoint from volume-based abuse. | Limits applied per source IP can block many users behind one NAT or proxy address, and a misconfigured proxy may see every client as one IP. Confirm the trusted proxy settings and the path to match. |
| IP allow lists for admin or staff access | Fits when staff sign in from known office or VPN ranges and you want to restrict who can reach the login form at all. Reduces exposure from unknown sources. | Customers, mobile users and remote staff outside the list lose access, and changing IP ranges can lock out administrators. Keep a break-glass admin path and confirm how the allow list interacts with SSO callbacks. |
| Alerting on repeated failures | Fits when you need evidence of attempted attacks and a trigger for review, regardless of which block is active. Supports incident response. | Without log forwarding, failed attempts may not be visible to the security team. Confirm which login events the application logs and their format before writing alert rules. |
How throttling changes with local, LDAP and SAML logins
With local SuiteCRM accounts, SuiteCRM checks the password itself against the user records in its own database. Every failed sign-in passes through SuiteCRM's login handling, so the throttling settings are the main control over password guessing for these accounts. No directory is involved, so there is no separate lockout policy to configure.
- Where the check happens: SuiteCRM compares the submitted password with the stored credential for the local user.
- What throttling sees: each failed local attempt reaches SuiteCRM's throttle, so
LOGIN_THROTTLING_MAX_ATTEMPTSdirectly controls how many guesses are allowed before the wait applies. - Counting scope: confirm whether the throttle counts failures per username, per client address or both in your release, since this decides whether a single attacker can be slowed without locking out a legitimate user.
- Other entry points: confirm which sign-in paths, including any API or legacy entry points that accept local credentials, pass through the same throttle.
- Admin accounts: treat administrator accounts as the highest priority for testing, because a successful guess there exposes configuration and all user data.
Before relying on these settings, run controlled failed sign-ins against a test account on a staging instance and confirm the lockout message, the length of the wait and whether the counter resets after a successful sign-in.
With LDAP enabled through AUTH_TYPE=ldap, SuiteCRM uses the Symfony Security LDAP authenticators to pass the submitted credentials to the directory. The directory decides whether the bind succeeds, so the password is not checked against SuiteCRM's local user table. Throttling therefore has to be set in two places: SuiteCRM for its own sign-in attempts and the directory for the account itself.
- Where the check happens: the directory validates the bind, and SuiteCRM receives only a success or failure result.
- What throttling sees: confirm that a rejected LDAP bind is recorded as a failed attempt by SuiteCRM's throttle in your release, because this determines whether
LOGIN_THROTTLING_MAX_ATTEMPTShas any effect on directory accounts. - Directory lockout: set account lockout thresholds and lockout duration in the directory itself, since that control applies to the account from any client, including applications other than SuiteCRM.
- Service bind account: protect the account SuiteCRM uses to search the directory, give it least-privilege read access and monitor its sign-in activity.
- Counter mismatch: the SuiteCRM counter and the directory counter can reset on different schedules, so a user may be locked in one system and not the other. Test both.
Confirm the exact behavior with your SuiteCRM release and with the lockout and password policy settings of your directory, then test a failed sign-in against a test account and check the logs of both systems.
With SAML enabled through AUTH_TYPE=saml, SuiteCRM relies on the nbgrp onelogin-saml-bundle to accept a signed assertion from the identity provider. The user enters the password and any multi-factor prompt at the identity provider, and SuiteCRM receives a result only after that succeeds. Failed attempts at the identity provider generally never reach SuiteCRM, so the throttling responsibility usually sits with the identity provider.
- Where the check happens: the identity provider verifies the password and any second factor before it issues an assertion.
- What throttling sees: failed identity provider sign-ins generally do not reach SuiteCRM, so
LOGIN_THROTTLING_MAX_ATTEMPTSis unlikely to count them. Confirm this for your release. - Identity provider lockout and MFA: configure lockout, risk-based challenges and multi-factor requirements in the identity provider, and document who owns those settings.
- Session end after disablement: the SuiteCRM 8.7.0+ SAML implementation does not support IdP-initiated logout, so signing out or disabling a user at the identity provider may not end an existing SuiteCRM session. Confirm session lifetime and the revocation steps you will use.
- Any local sign-in path: if local accounts can still sign in by another route, they remain under the SuiteCRM throttle, so confirm how your configuration handles them.
Before go-live, sign in with a test account, fail the password several times at the identity provider, and confirm both the identity provider lockout and the SuiteCRM session behavior after a disablement.
How to configure and test login throttling on a staging instance
This sequence changes SuiteCRM 8 login throttling on a staging copy, proves the lockout behaves as documented for both single and shared addresses, and leaves a recorded production change that support staff can explain. Each step ends with a check you can record before moving on.
Record the release and login backend
The administrator records the installed SuiteCRM 8 version, the PHP and database versions, and the value of AUTH_TYPE (database, LDAP or SAML) in the environment file. Throttling behavior and the settings that control it can differ between releases, so confirm the exact options in the configuration reference for that version before editing anything. The step is complete when the release, backend and current throttling values are written in the change record.
Back up files and database
Before any change, the administrator takes a full backup of the SuiteCRM file tree, the environment configuration and the database, and stores it outside the instance. The migration documentation also warns that some non-core files can be affected by upgrade-style operations, so keep a copy of any customized files under the public folder. The step is complete when a restore has been verified on a separate host or the backup has been checked for readability and size.
Prepare the staging instance
The team creates or refreshes a staging instance from production with the same SuiteCRM release, the same login backend and the same reverse proxy path, so that client addresses reach the application the way they do in production. Test users are created for each role, with known passwords that are not reused elsewhere. The step is complete when a test user can sign in on staging and the login page responds through the same proxy as production.
Change throttling settings on staging only
The administrator sets the throttling options on staging only, starting with the maximum failed attempts value (LOGIN_THROTTLING_MAX_ATTEMPTS) and any Symfony rate limiter options listed for the release. Each change is recorded with its old and new value, and production is left untouched until the tests pass. The step is complete when the staging configuration file shows the intended values and the change record names the reviewer who approved them.
Restart services and clear caches
The administrator restarts the web server and PHP-FPM if the release requires it, then clears the Symfony cache using the console command documented for that release. A stale cache can keep old limits in place, which makes test results misleading. The step is complete when the new values are visible in the running instance, for example through a deliberate test sequence that matches the expected threshold.
Run failed-login tests from one address
From a single test host, the tester submits wrong passwords for one test account until the lockout appears, noting the exact attempt on which the page changes. The tester then waits the documented lockout period and confirms that a correct password signs in, which shows that the lockout clears as documented rather than remaining in place. The step is complete when the observed attempt count matches the configured value and the recovery behavior matches the reference.
Test shared addresses and legitimate users
The tester repeats failed logins from several addresses that share one outbound NAT or proxy address, then signs in with a correct password for an unrelated user from that shared address. This shows whether a lockout caused by one source blocks legitimate users behind the same address. The step is complete when the result is recorded for each address, and any unwanted blocking is documented with the network setup that caused it so the team can decide between tuning and network controls.
Confirm logs and record the production change
The tester checks the application and web server logs for entries that show each failed attempt, the lockout event and the recovery, and confirms that the entries include the client address your monitoring expects. Once the results are accepted, the same values are applied to production in a planned change window, and the support contact receives a short note describing the new lockout behavior and the process for unlocking a user. The step is complete when the change record includes the test results, the production values and the support note.
Pairing throttling with network controls
Application throttling counts failed sign-ins inside SuiteCRM, so it cannot see traffic that never reaches the login form. The controls below sit in front of and beside SuiteCRM, and each one needs checking against the proxy or load balancer path that real users take.
Rate limits on the login path
A reverse proxy or WAF can cap request rates to the login route before requests reach PHP, which keeps floods from consuming worker capacity. Application throttling still decides the per-account outcome, so the two layers complement each other. Apply the limit only to the login path and its token endpoint, and set it above what a shared office IP legitimately generates. Confirm that the limit keys on the client address the proxy forwards, not on the proxy's own address, or every user will share one bucket.
Allow lists for administrator routes
Restricting administrator paths to known network ranges stops password guessing against admin accounts from the open internet, even when credentials are weak. It also limits what a stolen session can do from an unknown host. The risk is lockout: if the proxy rewrites or hides the source address, legitimate administrators are blocked. Test the rule from an approved network and from a path that goes through the load balancer before you enforce it.
Geographic and ASN restrictions
Blocking traffic from countries or hosting networks where your staff never sign in removes a large share of automated attempts before they reach the application. This only works where the business accepts the limits on traveling staff and remote partners. Geolocation databases are approximate, and address ranges change, so review blocked sources on a schedule. Confirm the policy with the business owner first, because a rule that blocks a regional sales office creates a support queue.
TLS and HSTS on the login host
HSTS tells browsers to use HTTPS for the login host, which blocks downgrade attempts on the first and later visits when the header is set correctly. Application throttling does not see plaintext credentials captured on the network, so transport settings matter on this path. The common failure is a load balancer terminating TLS while the application still builds http links, which breaks sign-in or redirects. Check the forwarded protocol header and the site URL together.
Centralized logging of failed sign-ins
Throttling blocks an attack but does not tell your security team that it happened. Send failed sign-in events from SuiteCRM and the proxy to a central log platform, and alert on bursts per account and per source address. Use the forwarded client address, and record the original address separately, so the alert shows the attacker rather than the proxy. Confirm that log retention meets your policy and that no passwords or tokens appear in log lines.
Password policy and MFA in the identity layer
Throttling slows guessing but cannot stop a correct password from being reused elsewhere, so MFA and password quality still matter for SuiteCRM. With LDAP or SAML, enforce these rules at the identity provider, and remember that the SuiteCRM SAML implementation does not end the CRM session on identity provider logout. For local accounts, enable the two-factor option described in the sibling 2FA topic. Confirm lockout behavior in both places so the two systems do not conflict.
Keeping lockout policy usable for staff and service accounts
A stricter lockout threshold protects accounts from password guessing, but in a CRM used by sales and service teams across several locations it also creates a daily cost: people mistype passwords, travel across time zones, and get locked out at the start of a shift. The decision is not simply how low to set the attempt limit. You need to decide how many failed attempts a user can absorb, how long the lock lasts, and who is expected to respond when a legitimate person is blocked. Test the chosen values with real account types from each site before you rely on them, and confirm with SuiteCRM's configuration reference exactly which settings your 8.x release reads and how the wait period is applied.
Lockout can also be used as a denial-of-service tool. An attacker who submits deliberately wrong passwords against a known username can lock out a sales rep or a service agent without ever getting in. Plan for this in two ways. First, make the unlock path explicit: decide which help desk staff can clear a lock, what identity checks they perform before doing so, and whether they can do it from the admin interface or need an engineer. Second, watch for bursts of failures against a single account or from a single source, and route those alerts to the team that owns the platform. Network controls at the reverse proxy or firewall can limit the source side of this problem, but confirm what your edge devices can see, since requests behind a shared proxy may all appear to come from one address.
Service and integration accounts need separate handling. If an API client, scheduled job or integration user authenticates with a password that someone later changes, or with a credential that is locked by repeated failures, the sync stops silently and records go stale. Give these accounts their own roles, keep their credentials in a managed store rather than in shared notes, and document which jobs depend on each one. Then write the lockout settings, the unlock procedure, the list of service accounts exempted or handled differently, and the named owner into the access policy. An owner who signs off on changes gives you a record of why the numbers are what they are, and a review date that forces the policy to be checked against real help desk volume.
What to confirm before you rely on login throttling
Login throttling only protects what it actually covers, and the defaults and behavior depend on the SuiteCRM release you run. The cards below list the points to confirm against your installed version before you count on throttling as a control. No figures are given here unless confirmed for your version, and the release notes and configuration reference are the source for each answer.
Exact setting names and defaults
Confirm the throttling keys your installed release reads, including LOGIN_THROTTLING_MAX_ATTEMPTS and any related Symfony limiter options, and the default values that ship with that release. Do not assume a default carried over from an older version or from a blog post. Record the names and values as they appear in your own environment file and configuration, so a later upgrade can be checked against the same baseline. The configuration reference for your version is the source for this answer.
Counting failures per account or address
Find out whether the counter tracks failed attempts per user account, per client address, or both. The answer decides whether an attacker spraying one password across many accounts is slowed down, or whether one address hammering one account is the only pattern caught. Test both patterns in staging with a test account before you rely on either. The release notes and configuration reference for your version should describe the counting key.
Reset behavior of the counter
Confirm whether the failure counter resets after a successful login, after a fixed wait, or only after an administrator action, and how long the lockout lasts. A counter that resets on any success can be defeated by an attacker who logs in to a known account between guesses. Write down the reset rule your version applies, then verify it with a deliberate sequence of failed and successful logins on staging.
Coverage of the API and entry points
Check whether throttling applies only to the web login form or also to API authentication, password reset, and other legacy entry points. An unthrottled API route next to a throttled form gives an attacker the same guessing opportunity. Map each authentication path your instance exposes, then test each one with repeated failures. Where a path is not covered, record it as a compensating control item for your network or gateway layer.
Behavior behind a proxy
Confirm how the throttle identifies the client when a reverse proxy or load balancer sits in front of SuiteCRM. If every request appears to come from the proxy address, a per-address limit can lock out all users at once or fail to slow a single attacker. Check how forwarded client headers are read and trusted in your setup, and test from two separate client addresses. Coordinate this check with your trusted hosts configuration.
Security advisories that change behavior
Review the release notes for each patch release, since a security fix can change throttling defaults, key names, or counting behavior without a feature announcement. Patch releases are documented as containing only security and bug fixes, so any behavior change should be called out there. Re-run your throttling tests after every patch, and compare the result against the baseline you recorded for your version.
SuiteCRM LTS pageCommon questions about SuiteCRM login throttling
How much effort and cost does a throttling review and configuration change involve?
The cost depends mostly on how many login paths the instance has, how the proxy and load balancer layout passes client addresses to SuiteCRM, whether a staging copy is available for testing, and how far the testing goes. A review of a single local login path behind one proxy is a small piece of work. An instance that also uses LDAP or SAML, has several proxy layers, and needs tests for each role and each login path takes more time. Only a written scope can give a figure, so ask any provider to list the login backends, the proxy layout, the environments to test in and the evidence you will receive. Recurring cost is limited unless you add monitoring or retainer support.
How long does throttling work take, and what sets the timing?
The timing is set by access, not by the setting change itself. The work usually waits on approvals for the lockout policy, on a staging environment that matches production, and on a maintenance window if the change needs a restart or a cache clear. Testing across identity backends and network paths often takes longer than the edit. Confirm the expected sequence with your provider and ask which steps depend on your team's availability. Any duration in a quote should follow from the written scope and its listed dependencies.
What does the client need to provide for a throttling engagement?
The work needs several inputs before it starts:
- Server access to the SuiteCRM host, including the environment file and the web server or proxy configuration.
- Admin access to the directory (LDAP) or identity provider (SAML) if those logins are in use, so lockout and failure settings can be checked there.
- A staging copy with realistic configuration, so failed-login tests do not lock out real users.
- A named owner who can approve the lockout policy, including the lockout length and who is notified.
Without these, the review can only cover part of the login surface.
Can an internal team configure SuiteCRM login throttling alone?
Yes, if the team has someone comfortable with Linux server administration, the SuiteCRM 8 environment settings, and basic web proxy behavior. The configuration change itself is small. The harder parts are confirming the client IP address reaches SuiteCRM correctly behind a proxy, checking that throttling and directory lockout do not conflict, and testing without locking out staff. Teams without these skills, or without a staging copy, often choose a short review. Confirm your own skills against the steps listed in the topic before deciding.
Does login throttling replace multi-factor authentication or network controls?
No. Throttling slows repeated guessing against a login form, but it does not prove who is signing in and does not stop attacks that spread attempts across many accounts or addresses. Multi-factor authentication adds a second proof of identity, and network controls such as allow lists, a web application firewall or rate limits at the edge limit who can reach the login at all. A sound design uses all three. Plan the throttling settings alongside the two-factor rollout and the network controls, and document which control covers which risk.
How do throttling settings change after a SuiteCRM upgrade or migration?
Check the settings after every upgrade, patch or migration, because the environment file, proxy layout and login backend can change along the way. A SuiteCRM 7 to 8 move is documented as a migration into a new SuiteCRM 8 environment, so throttling must be set up again there rather than carried over from the old instance. Patch releases contain only security and bug fixes, but they can still affect configuration handling, so re-run the login tests on staging before production. Ask your provider how the retest is included in the scope and how it is repeated for later releases.
What should a throttling review deliver at the end?
A useful review delivers a written record of the settings in use, the tests that were run and their results, the lockout policy that was approved, and the owners for each login path. It should also list any gaps that remain, such as login paths that are not covered, and the steps for checking the settings again after a change. Ask for these items in the written scope. DeployOpen's engagements are fixed-scope, so the deliverables and the timeline are agreed in writing before work starts.
How DeployOpen works on this
DeployOpen plans, implements, hardens, documents and supports self-hosted SuiteCRM inside your own infrastructure. For login throttling, we start from your current attempt limits, proxy and network layout and identity setup, then agree the changes in writing before anything is changed on a live instance.
How we scope
- Review your current SuiteCRM 8 version, login path and whether LDAP, SAML or local accounts handle sign-in
- Map where client addresses reach SuiteCRM, including reverse proxies, load balancers and any WAF
- Agree in writing which throttling values, network rules and test cases the fixed scope covers
How we build
- Set LOGIN_THROTTLING_MAX_ATTEMPTS and the Symfony limiter options in a staging instance first
- Check that throttling counts the real client address behind your proxy, not the load balancer address
- Pair application throttling with firewall or edge rate limits for the login and API entry points
How we hand over
- Deliver a written configuration record covering each setting, its value, its owner and the reason for it
- Document the test results for failed logins, lockout recovery and lockout behavior for each user type
- Walk your administrators through lockout handling, log review and how to change values safely later
How we support
- Re-test throttling after each SuiteCRM minor or patch release, since upgrades can change behavior
- Review lockout and failed-login logs on a schedule agreed in the scope, with findings reported back
- Ongoing support, upgrades and continuous testing are available as a retainer after handover

