With the advent of permanent settlements, thought naturally turns to security and defense. The earliest innovations are simple, but effective.