Traps are devices used to capture an intruder or retain their
interest while additional information about them is attained. Examples
include man-traps used to capture people trying to illicitly enter a
facility, computer traps used to entice attackers to remain while they are
traced, and special physical barriers designed to entrap particular sorts of
devices used to bypass controls.
Complexity: In general, no theory of traps has been devised, however, it is
often easy to set traps and easy to evade traps, and, in legal cases,
entrapment may void any attempt at prosecution.