Java Security Manager - What does it check?
This article about Java security says: Code in the Java library consults the Security Manager whenever a dangerous operation is about to be attempted. So, what does this exactly mean? Say, if I've implemented my own securitymanager and enabled it for the whole JVM. Now, does the java runtime consults my securitymanager for each and every java call(like System.out.println() etc) or it consults only for dangerous api calls like System.exit() ,file operations etc? edit : let me clarify my question, I'm not questioning the possiblities of the securitymanager. I'm just asking if the security checks