Outline the mechanisms necessary to control the access of programs or users to the resources defined by a computer system.