fix: harden CMS security controls

This commit is contained in:
Andy Dixon
2026-06-08 17:12:42 +01:00
parent 42fe5b9304
commit a636ecd991
297 changed files with 174942 additions and 7485 deletions
+17
View File
@@ -0,0 +1,17 @@
# Site-specific credentials and deployment overrides.
/cms/config.local.php
# Runtime CMS state; retain only the web-access guards committed below.
/cms/data/*
!/cms/data/.htaccess
!/cms/data/index.php
/cms/logs/*
!/cms/logs/.htaccess
!/cms/logs/index.php
# Uploaded content belongs to the deployed site rather than source control.
/uploads/*
!/uploads/.htaccess
!/uploads/index.php
# Generated security-audit reports are retained deliberately and should remain visible to Git.