Ensure security of extensions and custom code
When you extend Adobe Commerce by adding third-party extensions from the Adobe Commerce Marketplace, or add custom code, ensure the security of these customizations by applying the following best practices:
-
Only source extensions from the Adobe Commerce Marketplace or through the solution integrator. If the extension is sourced through an integrator, ensure that ownership of the extension license is transferrable, in case the integrator changes.
-
Reduce risk exposure by limiting the number of extensions and vendors.
-
If possible, review extension code for security before integrating with the Commerce application.
-
Ensure that PHP extension developers follow Adobe Commerce development guidelines, processes, and security best practices. Specifically, developers must avoid using PHP capabilities that can lead to remote code execution or weak cryptography. See Security in the Best Practices for Extension Developers Guide.
Upgrade to the latest release
Adobe continually releases updated solution components to improve security and better protect customers against possible compromise. Upgrading to the latest version of the Adobe Commerce application, installed services, and extensions and applying current patches is the first and best line of defense against security threats.
Commerce typically releases security updates on a quarterly basis but reserves the right to release hotfixes for major security threats based on priority and other factors.
See the following resources for information about available Adobe Commerce versions, release cycles, and the upgrade and patch process:
- Released Versions
- Product Availability (Adobe Commerce services and Adobe-authored extensions)
- Adobe Commerce lifecycle policy
- Upgrade Guide
- How to apply patches
Develop a disaster recovery plan
If your Commerce site is compromised, control damage and restore normal business operations quickly by developing and implementing a comprehensive disaster recovery plan.
If a customer requires restoration of a Commerce instance due to a disaster, Adobe can provide the customer with backup files. The customer and solution integrator, if applicable, can perform the restore.
As part of a disaster recovery plan, Adobe highly recommends that customers export their Adobe Commerce application configuration to ease redeployment if it is required for business continuity purposes. The primary reason to export the configuration to the file system is that the system configuration takes precedence over the database configuration. In a read-only file system, the application must be redeployed to change sensitive configuration settings, providing an extra layer of protection.
Additional information
Adobe Commerce deployed on cloud infrastructure
Adobe Commerce deployed on premises
Maintain a secure site and infrastructure
This section summarizes best practices for maintaining site and infrastructure security for an Adobe Commerce installation. Many of these best practices focus on securing the computer infrastructure in general, so some of the recommendations might already be implemented.
Adobe Commerce installations deployed on cloud infrastructure can use built-in WAF services available with the Fastly services integration