Skip to content

Install Protection Safeguard

Install Protection is a Raydium Framework Safeguard Against Website Takeovers.

Install protection within the Raydium Framework is a critical security measure designed to prevent unauthorized website takeovers. This feature ensures that access to the WordPress installation and update mechanisms is strictly controlled, preventing unauthorized users from re-installing WordPress with their own credentials and thus taking over the site. This documentation details the implementation and significance of install protection to thwart such security breaches.

Implementing Install Protection

Activate Install Protection:

  • Define the RAYDIUM_INSTALL_PROTECTION constant in the framework configuration file (configs/config.php) to enable install protection. Setting this constant to true enforces the protection mechanism.
php
define('RAYDIUM_INSTALL_PROTECTION', true);

IMPORTANT

WordPress database upgrades may require you to disable this flag, if you find that you cant access the admin area then it may be that a database upgrade is needed usually this happens after major WordPress updates, in that case simply set the flag to false run the database upgrades and re-enable it.

Protection Logic:

  • The Raydium Framework will check for the RAYDIUM_INSTALL_PROTECTION flag. If the flag is enabled, the framework will try to block any new installation attempts that could lead to unauthorized control of the site.

Protection Enforcement:

  • If the Raydium detects an unauthorized installation attempt while install protection is active, it will initiate appropriate actions to stop the process. This may involve redirecting the user to a custom error page, recording the attempt for analysis, or notifying the site administrators.

Importance of Install Protection Against Takeovers

Prevents Unauthorized Access:

  • Restricting access to the WordPress installation screen via install protection prevents unauthorized users from setting up a new WordPress instance with their credentials, effectively guarding against site takeovers.

Maintains Site Integrity:

  • Keeping the site under legitimate ownership preserves the site's integrity and the trust of its users.

Enhances Security Posture:

  • Adopting protective measures like install protection significantly improves the site's defense against common threats, bolstering its overall security posture.

Compliance and Governance:

  • For entities subject to regulatory standards, implementing stringent security measures, including install protection, is often a compliance requirement.

Mitigates Risk of Data Loss:

  • By preventing unauthorized installations, install protection also reduces the risk of data loss or compromise that could accompany such takeovers.

Install protection is an indispensable security feature within the Raydium Framework, aimed at preventing unauthorized WordPress installations and potential website takeovers. By leveraging this protective measure can significantly reduce the risk of losing control over their websites to malicious actors, ensuring a secure, stable, and trustworthy online presence.