Skip to Main Content
Sustainable Web Design Logo
  • Home
  • Guidelines
  • Emissions
  • Ratings
  • Contact

◂ Web Development guidelines

3.16 Ensure Your Scripts Are Secure

Web Development

The dangers of scripting are well known, and vulnerabilities are discovered with increasing regularity. As such, it’s of ethical benefit for authors to ensure all code used regularly passes security processes.

Criteria

  • Script Security: Check the code for vulnerabilities, exploits, header issues, and code injection.

Impact

Medium

Effort

Medium

Benefits

  • Environmental:
    Websites that have no outstanding security issues are less likely to become a target for individuals who might exploit them (consuming vast amounts of data in the process).
  • Security:
    Having a secure website can prevent personal information from being exploited.
  • Performance:
    A secure website is less likely to have its infrastructure breached, which could lead to vast amounts of data being stolen, corrupted, or destroyed.
  • Economic:
    Preventing security issues will help your project and visitors avoid financial crime.

GRI

  • materials: Medium
  • energy: Medium
  • water: Medium
  • emissions: Medium

Example

  • This article has information and examples of XSS security issues to avoid.

Resources

  • 5 Ways to Keep Your website from Getting Hacked
  • Content Security Policy Reference
  • Frontend Security Checklist
  • [GPFEDS] 1.7 – Strategy (Encryption) (PDF)
  • [GR491] 1-7020 – Data Security
  • OWASP Top Ten
  • The OWASP Top 10
  • United Nations [SDGS] Goal 3 (Health & Well-being)
  • United Nations [SDGS] Goal 16 (Sustainable Society)
  • United Nations [SDGS] Goal 17 (Global Partnership)
  • Web security
  • Website security
  • WordPress Security: How to Protect Your website from Attacks and Hackers

View the Guideline

Tags

Social EquityJavaScriptSecurityPrivacy

Share

More web development guidelines

3.1 Identify Relevant Technical Indicators

Web Development

3.2 Minify Your HTML, CSS, and JavaScript

Web Development

3.3 Use Code-Splitting Within Projects

Web Development

Learn about W3C’s Sustainable Web Interest Group:

A global community advancing sustainability on the web.

Explore the group

This site is brought to you by

Mightybytes Wholegrain Digital
Website Carbon

This page loaded in 0.25 seconds and emitted just 0.5g of CO2

Visit Website Carbon
Ecograder

How green is your website?

Visit Ecograder
© Copyright Sustainable Web Design 2025. Privacy Policy.