Skip to content

Files

Latest commit

 

History

History
13 lines (7 loc) · 539 Bytes

NonFinalPublicField.md

File metadata and controls

13 lines (7 loc) · 539 Bytes

Pattern: Non-final public field

Issue: -

Description

Finds code that violates secure coding principles for mobile code by declaring a member variable public but not final.

All public member variables in an Applet and in classes used by an Applet should be declared final to prevent an attacker from manipulating or gaining unauthorized access to the internal state of the Applet.

Further Reading