Production checklist
Go through this checklist before putting a Masa CMS installation into production, and again after major changes to the server. Settings go in /config/settings.ini.cfm and take effect after reloading Masa CMS.
Masa CMS settings
- Turn off debugging.
debuggingenabledistrueby default, which shows CFML errors, including file paths and code, in the browser. Setdebuggingenabled=false. - Use a custom error page. With debugging off, the page in
errortemplateis shown when an error occurs. Point it to a page that matches your site and reveals no technical details. - Change the reload key. Anyone who adds
?appreloadto a URL reloads the whole application, which is slow and uses a lot of server resources. Setappreloadkeyto a long, random value and keep it private. - Set an encryption key. The default
encryptionkeyis derived from the installation path. Set it to a long, random value. - Only set
remoteipheaderbehind a trusted proxy. Masa CMS uses this header as the visitor’s IP address without further checks. If the server is not behind a proxy or load balancer that always overwrites the header, visitors can fake their IP address. Also make sure the server cannot be reached directly, bypassing the proxy.
Accounts and access
- Lock down the admin, including the administrator of your CFML engine.
- Enable multi-factor authentication, account lockout and strong passwords.
- Make sure no account uses default credentials, and remove accounts that are no longer used.
- Consider a separate authoring and public environment, so the admin is not reachable from the internet at all.
Web server
- Redirect to HTTPS and add security headers.
- Protect internal folders and files, and remove development and test files from the server.
- Never run scripts from upload folders.
- Restrict access to the cache folder if you use restricted content.
- Secure session cookies.
- Disable directory listings. The
htaccess.txtfile shipped with Masa CMS does this for Apache withOptions -Indexes.
CFML engine and server
- Follow the lockdown guide for your CFML engine: the Lucee Lockdown Guide or the Adobe ColdFusion 2025 Lockdown Guide (PDF).
- Turn off detailed error output and debugging in the CFML engine administrator.
- Run the CFML engine as a dedicated user without administrator rights. Only give it write access to the folders Masa CMS needs to write to, such as the
assetsandcachefolders of each site and thepluginsfolder. - Use a dedicated database user for Masa CMS with only the permissions it needs, and make sure the database server is not reachable from the internet.
Keep it up to date
- Install Masa CMS updates promptly. Security fixes are announced in the security advisories on GitHub.
- Keep the CFML engine, Java, the web server and the operating system up to date.
- Only install plugins and modules from sources you trust, and keep them updated too.
- Make regular backups of the database and the files, and test restoring them.