1. A method for preventing unauthorized access to computer system resources, the method comprising: receiving a section of programming language code to execute on a computer system, wherein the programming language code includes a pragma that defines a set of resources that the programming language code has permission to access; analyzing the pragma to determine the set of resources; and processing the programming language code in accordance with the pragma.