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

前端 未结 8 1467
一向
一向 2020-12-02 08:38

Warning:

Newer versions of .Net and .Net core has have removed and/or changed “Code Access Security” (CAS) since this question was asked.

Original Questio

8条回答
  •  無奈伤痛
    2020-12-02 09:08

    I was the development lead on a project to get JITC certification (US Department of Defense) for a .NET based solution, and the CAS settings were scrutinized very closely during the certification testing.

    Like most of the other certification requirements, the code could only use the privileges it needed to work and no more.

    If you are planning to get security certifications CAS can definitely be important.

提交回复
热议问题