Secure Coding

Pranava K.V
Aug 30, 2020

Secure Coding, the pillars for Ivory Tower of Security

Secure Coding: It is a practice of implementing the product designed without any bugs or vulnerabilities in code.

Secure coding could be put in action through various forms:

  1. Tweaking the compiler in the development to flag the warnings as errors.
  2. Peer-Code review.
  3. Automate testing of the code on boundary conditions.
  4. Use libraries which been tested for vulnerabilities.
  5. Enlightening the Developer on how critical is secure coding.

What should be the mind-set of the developer for secure coding?

The developer should be familiar with the best practices of secure coding and also the security functions available in a language-framework he/she is working with.

They should be aware while coding that the code should be simple and lucid. This opens the gate for better debugging and peer-review.

Everyone knows that debugging is twice as hard as writing a program in the first place. So if you’re as clever as you can be when you write it, how will you ever debug it?

Brian Kernighan, The Elements of Programming Style

I would really appreciate your feedback and support on the content, please let me know it by sharing or commenting or clapping.

--

--

Pranava K.V

Background: Graduate from IIT | Hobbies: Exploring tech, blogging, enjoying science and art | Free time activities: Watching F1, Cricket and Anime