Abstract: A security system operates in response to an attempted egress through a door by a preselected person. The magnetic field of a permanent magnet is passed in a preselected spatial relation which respected a current generating device to generate a current upon the attempted egress through the door by the preselected person carrying the permanent magnet, and a security device is energized to lock the door upon the establishment of the generated current. A method of operating a security system is also disclosed.