code-access-security

What is the security risk of object reflection?

a 夏天 提交于 2019-11-26 22:11:58
So after a few hours of workaround the limitation of Reflection being currently disabled on the Google App Engine, I was wondering if someone could help me understand why object reflection can be a threat. Is it because I can inspect the private variables of a class or are there any other deeper reasons? ewernli 1 - Reflection (as a concept) is indeed orthogonal to safety/security. There was a big emphasis in the design of java to make it a safe platform, with static typing , security manager , disciplined usage of class loader , and no way to screw pointers/ memory . You can read the

Is “Code Access Security” of any real world use?

天涯浪子 提交于 2019-11-26 15:19:30
问题 Warning: Newer versions of .Net and .Net core has have removed and/or changed “Code Access Security” (CAS) since this question was asked. Original Question: I am in the process of studying for the 70-536 .NET Framework - Application Development Foundation Exam, as I have been programming .net for many years, this should not be hard! However I am having to learn about “Code Access Security” (CAS), As I have never had a need to use or configure it, I was wondering if anyone else has found a

What is the security risk of object reflection?

可紊 提交于 2019-11-26 08:13:17
问题 So after a few hours of workaround the limitation of Reflection being currently disabled on the Google App Engine, I was wondering if someone could help me understand why object reflection can be a threat. Is it because I can inspect the private variables of a class or are there any other deeper reasons? 回答1: 1 - Reflection (as a concept) is indeed orthogonal to safety/security. There was a big emphasis in the design of java to make it a safe platform, with static typing , security manager ,