← Lab /Software

Runnable code and official links identify more useful web security tutorials

Tutorials containing runnable code and direct links to official resources are more useful for developers.

Software arXiv 23 Mar 2026 Maturity unclear

Published as “A Survey of Web Application Security Tutorials”

Why it matters

Developers can apply the two heuristics (code presence and authoritative links) to quickly locate tutorials that are more likely to offer actionable security implementation guidance.

Summary

The study finds that only a small subset of web-application security tutorials provide concrete implementation guidance; tutorials that include runnable code or direct links to authoritative resources such as OWASP or CWE are more likely to be useful. They surveyed 132 freely available tutorials, discovering that 73% are vendor-authored, 80% contain no code, and only 2.3% offer runnable examples. Statistical analysis shows no strong link between narrative length and usefulness, but the presence of code and authoritative links serve as practical heuristics. The evidence is based on a systematic crawl and manual coding of visible English-language tutorials, but the authors note that these signals do not guarantee correctness.

What they found 5

  1. Vendor-authored tutorials dominate the sample

    “Vendor-authored tutorials account for 73% of the dataset, which reflects the strong visibility of commercial documentation in search results.”

  2. Code examples are rare

    “Only 26 tutorials (20%) contained any form of code, whether a short snippet, pseudocode, or a runnable example.”

  3. Advertisements appear in the majority of tutorials

    “Advertisements appear in 82% of tutorials through banners or promotional elements.”

  4. Tutorials with code are not longer than those without

    “Tutorials that included code averaged 2.8k words, compared with 3.1k words for tutorials without code.”

  5. Two simple heuristics help identify more useful tutorials

    “Our analysis shows that two signals help identify tutorials that provide implementation guidance: the presence of code examples and direct links to recognized security resources.”

Caveats 5

  • These signals do not guarantee correctness, but they consistently appeared in tutorials that provided concrete implementation detail.
  • Scope of media. We excluded videos, books, and long-form courses and focused on webbased textual tutorials only.
  • Impact of the search engine. We collected tutorials through the DuckDuckGo search API to reduce personalization and support reproducible results. These mechanisms influence which tutorials appear in search results and may promote marketing-oriented content.
  • Temporal scope. The dataset reflects the state of the web at the time of collection.
  • Granularity of measures. Our coding process measures whether tutorials contain code and what type of code they contain, but it does not evaluate code correctness or executability.

What’s new here 3

  • Provides an empirical, quantitative analysis of 132 web security tutorials rather than anecdotal observations.
  • Identifies two observable signals-code examples and direct links to official security resources-that correlate with more implementation-oriented tutorials.
  • Offers a reproducible methodology using DuckDuckGo API to capture a visibility-biased sample of tutorials.