Java Security Manager - What does it check?

后端 未结 3 569
死守一世寂寞
死守一世寂寞 2021-02-04 10:31

This article about Java security says:

Code in the Java library consults the Security Manager whenever a dangerous operation is about to be attempted.

3条回答
  •  感情败类
    2021-02-04 10:55

    The security manager uses a policy file to see what is permitted and what's not permitted. "Dangerous" operations, as determined by this policy file, is granted or denied during the execution.

    You can find more details about the default policy for Sun/Oracle JVM here:

    http://download.oracle.com/javase/6/docs/technotes/guides/security/PolicyFiles.html

提交回复
热议问题