Skip to content
Preptima

Security Engineering

The discipline of finding where a system trusts something it shouldn't and closing that gap before an attacker finds it first - spanning secure code, threat modeling, and the response when prevention fails anyway.

High demand18 min readApplication security engineer, Security engineer, Penetration tester, Security architect, Incident responder, Detection engineerUpdated 2026-08-10

Assumes you know: Comfort reading and writing code in at least one language, A working understanding of how a web request travels from client to server, Basic familiarity with databases and how a query is built

Overview

What this area actually covers

Security engineering is the work of finding the places a system trusts something it should not, and closing that gap before someone hostile finds it instead. That sounds abstract until you see the shape it takes in practice: a login form that trusts whatever string arrives in the username field enough to build a database query out of it directly, an API endpoint that trusts a caller's claimed identity enough to skip checking whether that identity actually owns the resource being requested, a build pipeline that trusts a dependency's published version number enough to never ask whether a newer version fixed a known flaw. Every one of those is a place where a design decision assumed good faith, and security engineering is the discipline of noticing the assumption, deciding whether it is safe to keep, and building the check that makes it safe if it is not.

The area covers three things that are related but genuinely distinct, and interviews test them separately. The first is application security: writing code and designing systems so that the common ways attackers get in - injection, broken access control, weak cryptography, misconfiguration - are closed by default rather than by developer vigilance. The second is threat modeling: reasoning systematically, before or alongside building something, about who might attack it, what they would want, and where the design currently lets them get it. The third is incident response: what happens when the first two were imperfect, which they always eventually are, and something got through anyway. A security engineer's day touches some mixture of all three, and a security interview typically probes all three separately because a strong answer in one does not predict a strong answer in another - plenty of engineers who write careful, injection-free code have never sat in a room reasoning about an attacker's incentives, and plenty of people fluent in STRIDE have never had to explain to a panicking executive, at two in the morning, what is actually known about a breach twenty minutes after it was discovered.

What gets wrongly bundled into this area, and needs pulling apart explicitly. Compliance and audit work - proving to a regulator or a customer that controls exist - overlaps with security engineering but is a different job with different incentives; a compliance answer is "we have a documented policy," a security engineering answer is "here is the mechanism that makes the bad thing structurally hard to do." Network security and traditional perimeter administration - firewalls, VPNs, network segmentation - is a real adjacent specialism, but a growing share of the field, driven by cloud adoption, no longer treats the network boundary as the primary control at all. And "security" as a business or governance function - risk registers, insurance, vendor questionnaires - is real work that shares vocabulary with this area but is not engineering in the sense this site means it: nothing there requires reading or writing code, and nothing here requires it either, but the two draw on very different skills day to day.

Where to go next

Now practise it

11 interview questions in Security & InfoSec, each with the rubric the interviewer is scoring against.

All Security questions
securityappsecthreat-modelingincident-responseowasp