Skip to content
WP Cloud
WP Cloud
    • For Hosts
    • For Agencies
    • For Registrars
    • For Native Hosting
    • Performance
    • Security
    • Real-Time Automated Failover
    • Vertical Scaling and Bursting
    • WordPress Management
    • PanelAlpha Integration: White-Label WordPress Control Panel for Hosts
    • EasyEngine Panel Integration: Visual WordPress Management for WP Cloud
    • FAQs
    • WP Cloud API
    • Partner Portal
    • Documentation
    • New Partner Guide
    • Pressable
    • Convesio
    • Porkbun
    • PanelAlpha
    • Ivapix
    • UNC Greensboro
    • Impressive Hosting
    • Blog
    • Performance Benchmarks
  • Connect With Us
  • Login ↗
Start Here ↗
  • Solutions

    • For Hosts
    • For Agencies
    • For Registrars
    • For Native Hosting
    • Featured Partners

    Features

    • Performance
    • Security
    • Real-Time Automated Failover
    • Vertical Scaling and Bursting
    • WordPress Management

    Integrations

    • PanelAlpha Integration
    • Easy Engine Panel Integration

    Resources

    • Documentation
    • WP Cloud API
    • FAQs
    • Partner Portal
    • New Partner Guide
    • Announcements
    • Changelog
  • Case Studies
    • PressableA case study about how WP Cloud supports Pressable to power millions of page views daily.
    • Convesio
    • Porkbun
    • PanelAlpha
    • Ivapix
    • UNC Greensboro
    • Newspack
    • Inverse Paradox
  • Insights
    • Podcast
    • BlogWP Cloud blog page with latest news and updates about the platform.
    • Performance Benchmarks
  • Connect With Us
  • Login ↗
Start Here ↗

Browse

    • WP Cloud platform overview
    • Onboard and launch with WP Cloud
    • WP Cloud Partner Portal
    • Get support from WP Cloud
    • WP Cloud glossary
    • API Documentation
    • Manage and secure API keys
    • Client SSH
    • WP Cloud API quick start
    • Webhooks
    • Run bulk tasks across sites
      • Manage site domains and aliases
      • Domain verification records
      • TLS certificates
      • Manage custom TLS certificates
      • Cloudflare and WP Cloud
    • Clone a site
    • Configure resources, site type, and billing with site meta
    • Delete a site
    • Persistent data
    • Staging sites
    • Migrate a site to WP Cloud
      • SSH and SFTP access models
      • Client SSH
      • User SSH and SFTP access
      • Database credentials
      • phpMyAdmin
      • ABSPATH
      • Default wp-config.php
      • Site constants
      • Configure redirects and headers with custom-redirects.php
      • Akismet and Jetpack
      • Blocked and unsupported plugins
      • PHP lifecycle and supported versions
      • Symlinks and managed software
      • WordPress versions
      • Install Composer and WP-CLI packages
      • Manage platform software with WP-CLI
      • Useful WP-CLI commands
    • Transactional email
    • WordPress multisite
    • Cron scheduling
    • Decoupled and headless WordPress
      • Edge Cache preload
      • WooCommerce cart caching
      • Page Cache
      • Edge Cache
      • Object Cache
      • Image transformation
      • Offload image sub-sizes
    • Configure lightweight 404s for static files
      • Edge Rules overview
      • Edge Rule types
      • Edge Rule conditions
      • Verify Edge Rules
      • Edge Cache preload
      • WooCommerce cart caching
      • Edge Cache
    • Edge request logs
      • DDoS protection
      • Defensive Mode
      • Rate limiting
      • Network and web application firewalls
      • Bot protection
      • Password protection
      • HTTP and security headers
      • PHP filesystem access permissions
      • Scan a site for malware
    • Backups overview
    • Create an on-demand backup
    • Restore a backup
    • Jetpack backups
      • Error logs
      • Web server logs
      • Edge request logs
    • Usage reporting
    • Metrics
    • Application performance monitoring
    • Automated failover
    • IP ranges
    • Origin and edge servers
    • Server specifications and settings
    • EasyEngine integration
    • PanelAlpha integration
      • White labelling and co-marketing WP Cloud
      • WP Cloud logos
      • Terms of Service & Compliance
      • Prohibited content
      • Copyright infringement and takedown notifications
    • WP Cloud billing
    • WP Cloud for agencies and site networks
    • WP Cloud partner support options
    • Troubleshoot Page and Edge Cache
    • Troubleshoot HTTP 429 and 599 errors
    • WP Cloud HTTP status codes
    • Troubleshoot site performance
    • Cache slow database queries
    • Troubleshoot duplicate core files, wp-config.php, and wp-admin 403 errors
    • Troubleshoot email delivery
    • Repair Yoast indexables
    • Troubleshoot PDF thumbnail generation
    • Troubleshoot TLS certificate provisioning

Updates

  • Changelog
  • WP Cloud Status
  • Announcements
Documentation/Security/Login protection/Password protection

Password protection

LAST UPDATED

5 months ago

    WP Cloud Password Protection prevents elevated WordPress users and newly created accounts from using weak or known-compromised passwords. It checks the normal login, password reset, profile update, registration, and wp-admin user creation flows and asks the user to choose a stronger, unique password.

    Host accounts created after June 2, 2026 have Password Protection enabled by default. Partners whose host accounts do not have Password Protection enabled by default can contact WP Cloud to coordinate enabling it. Each site can override its host client’s default. WP Cloud also plans to provide controls that make it easier for partners to enable or disable Password Protection on individual sites.

    Accounts and actions covered

    For existing accounts, Password Protection applies when the user can publish_posts or edit_published_posts. New registration and wp-admin user creation are checked regardless of the new account’s role.

    When an existing user attempts to sign in with a compromised password, the login is blocked and WordPress directs the user through a password reset. A password update or account creation that uses a known-compromised value returns:

    Error: This password is known to be included in compromised password lists. Please choose something more unique.Code language: JavaScript (javascript)

    The affected user requests a reset, receives the normal WordPress confirmation email, follows its link, and chooses a password that is not present in the known-compromised data. The same rejection applies when an administrator edits a user or creates a new account with a weak value.

    Privacy and availability

    The site hashes the password locally and sends only a partial hash prefix to the verification service. The service returns possible matching suffixes and the site completes the comparison locally. The full password and full hash do not leave the site.

    If the verification service is unavailable or misconfigured, the check fails open and allows the account action rather than locking out users.

    Because the comparison occurs locally, a matching suffix from the service does not by itself disclose the password or prove which possible password the user submitted.

    Override the host default

    Add the override above the final stop-editing comment in wp-config.php or the equivalent site-level configuration. Enable it with:

    define( 'WPC_PASSWORD_PROTECTION_ENABLED', true );Code language: JavaScript (javascript)

    Disable it with:

    define( 'WPC_PASSWORD_PROTECTION_ENABLED', false );Code language: JavaScript (javascript)

    Only define the constant when a site needs to differ from its host client’s default. WP Cloud Password Protection automatically disables itself when it detects Jetpack Account Protection as active.

    Test Password Protection

    Use this sequence:

    1. Choose a non-production or otherwise low-risk site.
    2. Check whether the host client default already enables Password Protection.
    3. If not, set WPC_PASSWORD_PROTECTION_ENABLED to true for the test site.
    4. Create a throwaway account that can publish or edit published posts, such as an administrator.
    5. Test the standard login, password-reset, profile password update, new-user registration, and wp-admin user-creation flows.
    6. Use only throwaway weak test values—never a real user’s password.
    7. Check PHP error logs for Password Protection entries after a detection or blocked login.
    8. Remove a temporary override when the site should return to the host default.

    Relevant PHP error logs begin with Password Protection:, for example:

    Password Protection: Blocked login for user "{user}" (ID: {id}) with compromised password...
    Password Protection: Compromised password detected...
    Password Protection: API error...Code language: JavaScript (javascript)

    Remove a temporary site-level override after testing when the site should return to its host default.

    Troubleshoot Password Protection

    When the check does not run for an existing user, confirm that the account can publish_posts or edit_published_posts. Test a core WordPress account flow before a custom login, registration, membership, SSO, or user-management flow, then review the PHP error logs.

    If a legitimate workflow is blocked, first confirm that the password is unique and not known to be compromised. Check whether custom authentication code changes the standard flow. The site-level constant can temporarily disable the feature while the integration is isolated.

    Record the exact error, timestamp and timezone, site URL, user role, account flow, and related PHP log entries when a reproducible platform failure needs WP Cloud investigation.

    Follow your incident response process when a weak password may already have led to unauthorized access.

    Common questions

    Is Password Protection enabled by default? Host-client accounts created after June 2, 2026 have it enabled by default. Other partners can contact WP Cloud to coordinate enabling it for their host account. A site can override either state with WPC_PASSWORD_PROTECTION_ENABLED. WP Cloud also plans to provide easier controls for changing the setting on individual sites.

    Which users are checked? Existing users are checked when they can publish_posts or edit_published_posts. Registration and wp-admin user creation are checked regardless of the new user’s role because the password is being accepted for a new account.

    Which WordPress actions are protected? Password Protection checks the standard login, lost-password reset, profile password update, registration, and wp-admin user-creation flows. A custom membership, SSO, or user-management flow may need separate testing.

    What should a blocked user do? The user should follow the normal WordPress password-reset flow and choose a unique password that is not present in known compromised-password data. An administrator should not work around the block by assigning another commonly used password.

    Does WP Cloud receive the password? No. The site sends only a partial hash prefix, receives possible matching suffixes, and performs the final comparison locally. Neither the full password nor its complete hash leaves the site.

    Does it require Jetpack? No. However, WP Cloud Password Protection turns itself off when Jetpack Account Protection is active so the two features do not enforce overlapping checks.

    Does the feature require Jetpack? No. Password Protection is implemented by WP Cloud. When Jetpack Account Protection is active, the WP Cloud feature disables itself so the two products do not govern the same password flow.

    Can one site enable or disable it independently? Yes. The site constant overrides the host client default in either direction.

    What happens when verification is unavailable? The check fails open and allows the request rather than locking out the account.

    Does the full password leave the site? No. The site sends a partial hash prefix and completes the possible-match comparison locally.

    Previous Bot protection
    Next HTTP and security headers

    Related Guides

    • Bot protection

      Enable WP Cloud Bot Protection for standard WordPress login and password-reset forms, then test and…

      6 Min.

      READ

    On this page

      Contact support

      Contact us with Support issues and questions related to WP Cloud, the WP Cloud Atomic API, API-key IP allow list changes, Station, and more.

      Check the FAQs

      Have questions? Please visit our FAQ to learn more.

      An Automattic venture

      Work With Us

      Press

      Privacy Policy

      © 2021-2026 Automattic Inc.

      Notifications