Multiple choice technology security

Please select which of the following statements are NOT true regarding the AccessController class?

  1. Can be used to mark code as being "privileged", thus affecting subsequent access determinations

  2. Can be to decide whether an access to a critical system resource is to be allowed or denied, based on the security policy currently in effect

  3. Can be used to obtain a "snapshot" of the current calling context

  4. Can be used to compute a cryptographically secure hash

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

AccessController is part of Java's security architecture for access control decisions. It can mark code as privileged (A), decide whether access should be allowed based on security policy (B), and obtain a snapshot of the calling context (C). However, computing cryptographic hashes is the domain of MessageDigest or crypto libraries, not AccessController.