...
Code Block | ||
---|---|---|
| ||
SecurityManager sm = System.getSecurityManager();
if (sm != null) { // check whether file may be read
sm.checkRead("/local/schema.dtd");
}
|
...
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="fa1ce3ee44d8d18f-686bec74-4660442f-b27a9d15-546906b5f7a4fca469a90d14"><ac:plain-text-body><![CDATA[ | [[API 2006 | AA. Bibliography#API 06]] | ]]></ac:plain-text-body></ac:structured-macro> |
...
SEC07SEC06-J. Classes that derive from a sensitive class or implement a sensitive interface must be declared finalDo not use reflection to increase accessibility of classes, methods, or fields 14. Platform Security (SEC) SEC09-J. Do not base security checks on untrusted sources