How to prevent Java reflection to access a custom Java package in a custom Android? -


let have custom android 4.3 custom java package xyz.java.

my questions are:

  1. how use java security manager prevent apps using reflectoin enumerate java methods in custom java package xyz.java?
  2. where in android source code should put java security manager code (suggested in 1) prevent apps enumerating methods in custom package xzy.java?


Comments

Popular posts from this blog

javascript - Is getTimezoneOffset() stable during daylight saving transition? -

Why does PHP consider 0 to be equal to a string? -

formula - R: how to pass in a reference to the variable in glm or lm? -