Use encapsulation

Description
Draw strong boundaries among application elements, including modules, functions and data, to limit the impact of potential attacks.

Examples

 * Design: Separate internal administrator's functions from external users' functions
 * Implementation: Hide internal details of a class, including data and methods, using private access modifier.