SPOUT
← All insights

How to scope website security work

Scope website security work by defining real assets, access, responsibilities, safeguards and limitations.

First published

People looking at a laptop together

Website security work should be scoped by the real assets, risks, accountable owners and evidence the project can provide.

For any South African business commissioning external technical work or maintaining web platforms, establishing an accurate scope is the decisive difference between meaningful risk reduction and empty administrative reassurance.


How to scope website security work

Understanding how to scope website security work begins with recognising that security is fundamentally about risk reduction rather than total risk elimination [1]. A perfectly secure system does not exist in practice and is impossible to maintain indefinitely [1]. Security work must instead focus on applying proportionate controls that systematically improve an organisation's security posture and reduce the likelihood and impact of potential compromise [1, 2].

A fundamental principle of security scoping is that actual systems, technical dependencies, and designated internal owners must be identified before any remediation or technical intervention is specified [3-5]. Over time, digital estates expand organically, creating hidden risks such as unpatched services, exposed cloud storage repositories, or unmanaged legacy systems [3]. When scoping work, organisations must never rely on a generic checklist as evidence of security; a checklist alone cannot establish that an audit took place, that safeguards were correctly implemented, or that technical remediation actually occurred [6]. Real technical assurance requires verifiable evidence generated from specific systems, configurations, logs, and operational controls [6-8].

Furthermore, an effective scoping exercise must establish clear boundaries between what is included in the project and what remains outside it. Unrealistic expectations—such as assuming an external technical contractor or web host will handle every conceivable layer of security—consistently lead to unmanaged vulnerabilities [1, 9].


Identify actual systems and authority

Before defining technical controls, an organisation must build an accurate inventory of the technology, applications, and data assets within scope [4, 5]. Knowing what data and systems exist, what business purpose they serve, and who has operational authority over them is a mandatory precursor to addressing digital risk [3, 5, 10].

1. Hosting environments and infrastructure boundaries

A common point of failure when scoping website security is misunderstanding where the hosting provider's responsibility ends and the website owner's begins [1]. Hosting and application security responsibilities depend on the service model and agreement; document which party maintains and recovers each layer [1, 9, 11]. In shared hosting environments, a compromise on another tenant's site on the same physical server can also introduce risks, making environmental boundaries and hosting selection critical considerations [12].

2. Application layer and third-party code

Security incidents can arise from infrastructure, application code, dependencies or access controls [11]. Applications such as WordPress or other content management systems require explicit scoping around software maintenance [11, 13]. Older software versions that are no longer maintained with security updates leave publicised vulnerabilities open to automated exploitation [13, 14]. Similarly, integrating unvetted plugins, themes, or third-party extensions from untrusted sources introduces severe entry points that bypass infrastructure safeguards [15].

3. Accounts, authority, and identity boundaries

Scoping must account for both internal and external accounts associated with the website [5]. This includes:

  • Domain registrar accounts and DNS management consoles [5, 16].

  • Cloud storage buckets and off-site backup repositories [3, 5].

  • Administrative panels (such as wp-admin), database access credentials, and file transfer services [17-19].

  • Third-party software-as-a-service (SaaS) integrations and shadow services operating without formal oversight [5].

For every identified system, an organisation must record a specific responsible person—such as an Information Asset Owner or technical administrator [5]. Scoping documents must never record live secrets, plaintext passwords, API keys, or database credentials [20, 21]. Where authentication is evaluated, work should prioritise multi-factor authentication (two-step verification), strong password management practices, and encrypted access mechanisms like SFTP rather than unencrypted FTP [17, 21, 22].


Define agreed safeguards and limitations

Security controls specified in a scope of work must be practical, proportionate, and clearly allocated to specific parties [1, 2]. Scoping conversations should address five core technical areas while documenting explicit operational limitations:

Scroll horizontally to view the full content.
+---------------------------------------------------------------------------------------+
|                             LAYERS OF OPERATIONAL DEFENCE                             |
+---------------------------------------------------------------------------------------+
|  ACCESS CONTROL       Appropriate file permissions, least-privilege database   |
|                       access, server-side authentication, multi-factor login.         |
|                                                                                       |
|  SOFTWARE HYGIENE     Regular core and plugin patching, removal of unused code,       |
|                       WordPress: consider disabling dashboard file editing.                    |
|                                                                                       |
|  RESILIENCE           Regular database and file snapshots, encrypted off-site         |
|                       storage, integrity verification (hashes), tested recovery.      |
|                                                                                       |
|  MONITORING & LOGS    Centralised access/error logs, file integrity monitoring,       |
|                       web application firewalls (WAF), intrusion detection.           |
+---------------------------------------------------------------------------------------+

1. Access controls and containment

Restricting access reduces potential entry points available to attackers, while containment limits the damage if a compromise occurs [11]. Technical controls should include:

  • File system permissions: Enforcing strict file ownership and permission schemes, ensuring write access is restricted only to authorised system processes and user accounts [23-25].

  • Disabling code execution tools: For WordPress, consider adding define( 'DISALLOW_FILE_EDIT', true ); to wp-config.php, which disables file editing in the WordPress Dashboard by removing the edit_themes, edit_plugins, and edit_files capabilities for all users [26, 27]. Whilst this closes the built-in PHP editor frequently leveraged by attackers for code execution, it does not prevent an attacker with compromised administrative access from uploading malicious files or installing malicious scripts [26, 17].

  • Restricting administrative interfaces: Adding secondary access controls (such as server-side BasicAuth) and mandating encrypted HTTPS connections to shield administrative paths against automated bot scanning and brute-force guessing [19, 29].

  • Database privileges: Use database privileges appropriate to the application and its maintenance operations; plan and authorise any elevated schema changes [18, 30].

2. Update regimes and obsolescence planning

Scoping must define who executes software updates, how frequently they are performed, and what testing takes place [13, 31].

3. Data backups and recovery procedures

Backups are an essential component of operational resilience, but they are not a substitute for active vulnerability management and defensive controls [15, 32]. Scoping must address:

  • The frequency of full database and application snapshots [32, 33].

  • The storage of backup archives in trusted, off-site, or read-only locations [32, 33].

  • Documented recovery drills, confirming that backups can be restored cleanly during an operational failure or incident [15, 30, 33].

4. Logging, monitoring, and forensic readiness

Defensive planning must account for incident detection [34]. Logging mechanisms—capturing web server access logs and error logs—allow administrators to inspect malicious requests, directory traversal attempts, and brute-force patterns during forensic investigations [7, 34]. Incorporating monitoring tools (such as host-based intrusion detection systems like OSSEC, file change monitors using inotify or version control, and external Web Application Firewalls) enables teams to receive automated alerts when unauthorized changes occur [8, 16, 34, 35].

5. Explicit limitations and exclusions

The scope of work should identify its actual exclusions, for example:

  • Completing a security scope or hardening checklist does not grant immunity from compromise [1].

  • Third-party networks, local workstations and home routers may be outside the agreed website maintenance scope; confirm actual responsibilities.

  • Security through obscurity (such as renaming administrative accounts or hiding database table prefixes) is not an effective primary defense and must never replace actual access control and software patching [36].


Complete the security scope matrix

The following hypothetical scope matrix illustrates how to translate security objectives into accountable commitments; adapt every control, role, result and exclusion to the actual agreement [5, 31]. The matrix captures the asset, the specific risk-reduction control, designated ownership, the authorised approval pathway, required verification evidence, explicit exclusions, and residual risk [4, 5].

Scroll horizontally to view the full table.
Asset / ComponentProposed ControlDesignated OwnerChange AuthorityVerification EvidenceExclusionsResidual / Open Risk
DNS & Domain RegistrationImplement multi-factor authentication on registrar account; enforce HTTPS [5, 17, 29].IT / Domain Administrator [5]Managing Director / Board [5]Registrar MFA status confirmation; active SSL/TLS certificate [17, 29].Registrar nameserver infrastructure uptime [9].Account takeover via targeted social engineering outside website systems [5].
Web Server EnvironmentReview permissions and directory listing settings appropriate to the deployment [23, 25].Hosting Provider / Lead Sysadmin [5, 9]Hosting Account Holder [5]Server permission audit log; configuration baseline export [7, 25].Physical server hardware; neighbouring tenant isolation on shared hosts [9, 12].Zero-day vulnerabilities in underlying web server daemon software [1, 12].
Application Core & PluginsApply regular updates; remove unused plugins; for WordPress, consider disabling dashboard file editing (DISALLOW_FILE_EDIT) [13, 26, 27].Lead Web Developer / Webmaster [5]Website Product Owner [5, 10]Update logs; application diagnostic report confirming file editor disabled [7, 26].Bespoke custom code written by third-party external vendors [11, 15].Regression issues requiring emergency rollback or temporary patching windows [30].
Application DatabaseSet database access to the privileges needed by the deployment [18, 25].Database Administrator [5]Technical Director [5]Database privilege review and approved grants [18].Database server memory optimisation; engine tuning [9].Major application upgrades requiring temporary schema alteration privileges (ALTER/CREATE) [30].
System BackupsExecute automated database and file snapshots; store off-site with checksum verification [32, 33].Systems Administrator [5]Operations Head [5]Backup completion logs; quarterly test restoration report; integrity-verification records [32, 33].Real-time live zero-data-loss failover clusters [1, 33].Data modified between scheduled snapshot intervals [33].
Access & Audit LogsCentralise access and error logs; deploy automated file integrity and intrusion monitoring [7, 8, 34].Security / Systems Lead [5]Information Asset Owner [5]Active monitoring dashboard status; automated alert delivery test record [8, 35].Manual 24/7 human Security Operations Centre (SOC) monitoring [1, 6].Log storage volume exhaustion if noisy traffic patterns are unmanaged [34].

Practical Asset: Security scope checklist

This operational checklist provides South African organisations with a structured framework for defining security requirements before engaging technical service providers. All entries should record accountable owners, formal authority, and verifiable evidence [5, 31].

Section A: Asset identification & authority

  • [ ] Hosting boundary defined: Formal written statement identifying infrastructure provider versus application owner responsibilities [1, 9].

    • Evidence: Service Level Agreement (SLA) or hosting demarcation document.

    • Accountable owner: Technical Operations Lead.

  • [ ] Asset inventory established: Cataloguing of web application repositories, server instances, database instances, and domain assets [4, 5].

    • Evidence: Centralised asset register with designated Information Asset Owners [4, 5].

    • Accountable owner: Information Asset Owner.

  • [ ] Change authority confirmed: Defined personnel authorised to approve production configuration updates, database alterations, and plugin changes [5, 31].

    • Evidence: Approved governance workflow or signed change control mandate.

    • Accountable owner: Website Governance Lead.

Section B: Baseline controls & containment

  • [ ] Strict file system permissions: File and directory permissions reviewed against the actual deployment [23, 25].

    • Evidence: Server terminal permission audit or shell verification script output [25].

    • Accountable owner: Systems Administrator.

  • [ ] WordPress dashboard file editing: Where applicable, consider DISALLOW_FILE_EDIT in configuration [26, 27].

    • Evidence: Application configuration inspection report [26].

    • Accountable owner: Web Developer.

  • [ ] Database least privilege: Database application permissions limited to the actual operational needs [18].

    • Evidence: Database permissions audit export [18].

    • Accountable owner: Database Administrator.

  • [ ] Secure transport & administration: Where files are transferred, use an appropriate encrypted method such as SFTP; protect administration access with HTTPS and appropriate secondary authentication [19, 21, 29].

    • Evidence: Server configuration headers; active TLS certificate validation [29].

    • Accountable owner: Infrastructure Lead.

Section C: Resilience, logging & maintenance

  • [ ] Automated backup schedule: Regular database and file snapshots configured for off-site storage with integrity checks [32, 33].

    • Evidence: Automated backup repository logs and cryptographic hash verification [32].

    • Accountable owner: Systems Administrator.

  • [ ] Restoration drill documented: Validated procedure to restore application and database files from cold storage [30, 33].

    • Evidence: Signed test restoration sign-off record [30, 33].

    • Accountable owner: Technical Operations Lead.

  • [ ] Logging & intrusion monitoring: Server access logs active; file integrity monitoring tracking unauthorised code changes [7, 8, 34].

    • Evidence: Active monitoring daemon status report and test alert record [8, 35].

    • Accountable owner: Security Specialist.

  • [ ] Decommissioning obsolete assets: Review unused themes, plugins, test installations and accounts; retain required records and follow authorised decommissioning procedures [10, 27].

    • Evidence: Audit log confirming deletion of redundant assets [10].

    • Accountable owner: Website Manager.


Frequently Asked Questions

Does a security scope guarantee no compromise?

No. Fundamentally, security is about risk reduction rather than risk elimination [1]. A perfectly secure system is impractical or impossible to maintain [1]. Scoping appropriate controls reduces vulnerabilities, limits potential entry points, and provides containment to minimise damage if an incident occurs, but it cannot guarantee absolute immunity from attack [1, 11].

Are backups the same as complete security?

No; they address one aspect of resilience [15, 32]. While keeping trusted, verified backups is critical for disaster recovery and restoring a compromised site, backups do not prevent attackers from exploiting vulnerabilities, intercepting unencrypted data, or breaching administrative accounts [15, 20, 32]. Backups must be supported by active patching, strict permissions, and continuous monitoring [3, 15, 34].

Can a brief authorise production security changes?

Follow actual authority and change controls [5, 31]. A scoping brief can define objectives and evidence; whether it authorises production work depends on the actual agreement and approval. Production adjustments must be reviewed and executed by designated, authorised system owners under established change control protocols [5, 31].


Sources

  • National Cyber Security Centre (NCSC). 10 Steps to Cyber Security: Asset management. Guidance on establishing technology asset inventories, ownership, dependencies, and risk reduction controls. [2, 3, 4, 5, 6, 10, 31]

  • WordPress.org. Hardening WordPress – Advanced Administration Handbook. Technical guidance covering application containment, hosting boundaries, file permissions, database privileges, backup integrity, logging, and monitoring. [1, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 29, 30, 32, 33, 34, 35, 36]


Citation references

  1. [1]
  2. [2]
  3. [3]
  4. [4]
  5. [5]
  6. [6]
  7. [7]
  8. [8]
  9. [9]
  10. [10]
  11. [11]
  12. [12]
  13. [13]
  14. [14]
  15. [15]
  16. [16]
  17. [17]
  18. [18]
  19. [19]
  20. [20]
  21. [21]
  22. [22]
  23. [23]
  24. [24]
  25. [25]
  26. [26]
  27. [27]
  28. [29]
  29. [30]
  30. [31]
  31. [32]
  32. [33]
  33. [34]
  34. [35]
  35. [36]