Home > Articles > Security > Network Security

  • Print
  • + Share This
This chapter is from the book

In Brief

  • Methods and variables that are not declared public can still be accessed.

  • A member with package or protected visibility can be accessed by inserting a helper class into its package or using the reflection API.

  • A member with private visibility can be accessed using the reflection API.

  • If a security manager is installed, the Java policy needs to be altered to allow unrestricted access for the reflection API.

  • + Share This
  • 🔖 Save To Your Account