Security and the theory of constraints