01 / 12
An attack always comes in through a hole
There are any number of names for the methods, but only three ways in.
- A hole in the code … somewhere careless about how it handles input
- A lapse by a person … somebody is fooled into opening the door themselves
- Sheer volume … pushed over by numbers until it stops working
Of these, the first is the one that concerns you most. An attack does not rain down from deep inside a server; it comes in through the line in your own code that uses text from outside as it stands.
A weak point that can be prodded like this is called a vulnerability. Vulnerabilities are not something you stamp out once; they are something you keep finding and fixing. So the second half of this lesson looks at how you fix them, and where you hold the line while they are not yet fixed.