Title: The theory of effective protection and resource allocation