Versions Compared

Key

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

...

Content by Label
showLabelsfalse
maxResults99
label+sec,-void
showSpacefalse
sorttitle
space@self
cqllabel = "sec" and label != "void" and space = currentSpace()

SEC20-J. Do not expect java.lang.reflect.method.invoke() to behave as the immediate caller

Introduction

Wiki Markup
According to the principle of least privilege, every program and every user of the system should operate using the least set of privileges necessary to complete the particular task \[[Saltzer 1974|AA. Bibliography#Saltzer 74], [Saltzer 1975|AA. Bibliography#Saltzer 75]\]. The Build Security In website \[[DHS 2006|AA. Bibliography#DHS 06]\] provides additional definitions of this principle. Executing with minimal privileges mitigates against exploitation in case a vulnerability is discovered in the code.  These principles can be applied in various ways to Java language programming.

...