Security Basics

Let's start from the beginning...

About

This page is meant to be as an starting point for security in development, for developers with little or no experience at all with secure development and good security practices in development.

Awareness

Every year vulnerabilities tend to grow in numbers (as you can see in CVE Details) as well as weakness in code (view CWE from Mitre).

Lots of enterprises are more aware about security in their software, ransomware groups and attacks are pretty common every single day, automated scannners for common vulnerabilities run by bad actors...

The are lots of reasons to take security seriously as a developer. Just take a Raspberry Pi (or other similar device) or spin up a VM in a cloud service, and open SSH port on port 22 publicly... You will be shocked with the number of attempts to login to your device...

Then have a look to some of this visualization tools:

Search news for data breaches, security incidents, ransomware attacks.

Are you more concerned now?

Great. Let's improve this situation...

A good starting point is to look at OWASP Top Ten, these are the main application security risks that are most important nowadays. The goal is to minimise these risks.

Secure Coding Practices

A very good starting point to ensure whatever you are developing, you meet with this OWASP checklist.

This SecureCoding blog post about it, it's also very useful.

This checklist covers the following points:

From the last bullet point, make sure you are following this coding practices:

Getting some help

You don't have to do all of this without help!

Look for professionals, professional enterprise ready tools and solutions. awesome OSS projects and others in other sections of this page...

Last updated