r/netsecstudents • • Apr 14 '23

Do web security professionals need to learn web development as thoroughly as a developer?

It seems like you don’t really need to learn programming and software engineering to have a successful career, but it does come in handy, and is required for certain roles like reverse engineering or AppSec.

To what extent does a web app security professional need to learn web dev? Do you need to understand it as well as the developers building the site, or do you just need to be able to read and understand what the code is doing? Do you need to learn how things are built with React, NodeJS, Django etc?

1 Upvotes

3 comments sorted by

11

u/EphReborn Apr 14 '23

Do you need to understand it as well as the developers building the site, or do you just need to be able to read and understand what the code is doing? Do you need to learn how things are built with React, NodeJS, Django etc?

Understanding it is being able to read it. That is the bare minimum requirement. For the pure technical aspect of appsec, no, you don't necessarily need to be able to program like a professional SWE.

But for the social aspect of appsec (and cybersecurity in general), i.e convincing developers (in this case) to do things, it helps greatly if you've been down in the trenches with them. It helps you speak their language, it helps you understand concerns they may have, it helps you explain things to them in a way they'll understand, and it helps you understand the process of software development from start to finish.

That means understanding things like Data Structures and Algorithms, git, unit testing, pipelines, containers and kubernetes (i.e system design/architecture), etc etc, not just in theory but in practice.

4

u/reduhl Apr 14 '23

It depends on what part of security you want to do. Just as with reverse engineering, knowing how the system work is key in some areas of security. There is still a wide variety of frameworks and languages for web systems. I'm a security web application developer.
Basically take basic web development and add in the CIA triangle.

You'll want to understand the architecture of the systems. Know how the firewalls are setup and how the APIs are hardened. Really you need to know how to ask the right questions. Like how the data is sanitized, stored and secured? What types of data is considered "special" or "atomic"? At what point the request is trusted? How is that trust established? How many layers of checks where used? How is the API defended from attack? How do you alert on bad API interactions? Do you alert on bad API interactions?

If you handed me code in a language I'm not familiar with, those are the questions I need to answer. Looking at the code is just finding the answers to those questions. One thing that is key for secure development is that the developers need to be a major part of the security of the projects. Once the developers know the concerns and have build a few standard tools, its really easy to build secure systems. But you have to do it as you develop. This is not college where you just need to get it to work. Now you need to get it to work and reject all the attacks only when the right requests are made properly.

1

u/Brudaks Apr 24 '23

More widely than a developer.

A web developer can specialize in a single language or framework, and be great at their job knowing that one particular stack deeply, and when switching jobs can try to pick a job with the same stack or switch to something else after some years. If a company has three different tech stacks, they will usually be handled by separate developers.

A web security specialist can't just say "I work with Django and that's it", they have to work with whatever tech stack their customer has, and if there are multiple different ones, the engagement will often require testing all of them. You inevitably can't get in as deep in everything as a specialist, but you have to have a much wider experience than most web developers.