Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Related Guidelines

MITRE CWE

CWE ID -266, "Incorrect Privilege Assignment"

 

CWE ID -272, "Least Privilege Violation"

Secure Coding Guidelines for the Java Programming Language, Version 3.0

Guideline 6-2 Safely invoke java.security.AccessController.doPrivileged()

...

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="99c334452d574f11-f6b8c632-4c244951-95dbad38-87b5f92e389dee84cd4855d3"><ac:plain-text-body><![CDATA[

[[API 2006

AA. Bibliography#API 06]]

[method doPrivileged()

http://java.sun.com/javase/6/docs/api/java/security/AccessController.html#doPrivileged(java.security.PrivilegedAction)]

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="400ccbd2406751d2-ed085c14-426b4f12-b7508a7a-9b8b34508b8bb3fd84ca4a26"><ac:plain-text-body><![CDATA[

[[Gong 2003

AA. Bibliography#Gong 03]]

Sections 6.4, AccessController and 9.5 Privileged Code

]]></ac:plain-text-body></ac:structured-macro>

...