kb:bestpractices:codingconventions:cybersecurity
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| kb:bestpractices:codingconventions:cybersecurity [2026/06/25 10:03] – joerg.hampel | kb:bestpractices:codingconventions:cybersecurity [2026/10/06 13:16] (current) – joerg.hampel | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| - | + | ||
| - | //As the EU Cyber Resilience Act (CRA) has already entered into force in 2024, and the first legal requirements must be fulfilled starting in September 2026, we are now explicitly collecting tips, tricks, and best practices related to the topic here.// | + | |
| + | <WRAP left round tip 60%> | ||
| + | **[[kb: | ||
| + | </ | ||
| ===== General Principles ===== | ===== General Principles ===== | ||
| Line 9: | Line 10: | ||
| * Prefer simple and explicit architectures | * Prefer simple and explicit architectures | ||
| * Fail safely and log security-relevant failures (log level WARNING) | * Fail safely and log security-relevant failures (log level WARNING) | ||
| - | * Minimize attack surface | + | * Minimize |
| + | * Keep third-party | ||
| * Apply the principle of least privilege (both when developing and in the final product) | * Apply the principle of least privilege (both when developing and in the final product) | ||
| * Do not reinvent the wheel (use existing encryption algorithms etc) | * Do not reinvent the wheel (use existing encryption algorithms etc) | ||
| - | + | * Review security implications during code reviews and design reviews, not only during testing | |
| ===== Secrets and Credentials ===== | ===== Secrets and Credentials ===== | ||
| + | * Choose secure defaults | ||
| * Never hardcode: | * Never hardcode: | ||
| * passwords | * passwords | ||
| Line 109: | Line 113: | ||
| * Keep dependencies updated | * Keep dependencies updated | ||
| * Prefer signed installers and executables | * Prefer signed installers and executables | ||
| + | |||
| + | |||
| + | ===== Resources ===== | ||
| + | |||
| + | * [[kb: | ||
| Line 117: | Line 126: | ||
| |< 100% 50% >| | |< 100% 50% >| | ||
| - | |[[kb: | + | |[[kb: |
kb/bestpractices/codingconventions/cybersecurity.1782381825.txt.gz · Last modified: 2026/06/25 10:03 by joerg.hampel