Chapter 14. Code Access Security
IN THIS CHAPTER
- Introduction to Code Access Security (CAS)
- Using and Administering Security Policy
- Using Imperative Security
- Using Declarative Security
Introduction to Code Access Security (CAS)
Code Access Security (hereafter referred to as CAS) is a feature of the CLR that protects resources from unauthorized access. Not too long ago, there was a lot of concern about ActiveX controls because when you trusted such a control, you trusted it completely and implicitly. That meant that if you downloaded and trusted an ActiveX control, that control could then access your hard drive, delete important files, or otherwise wreak havoc with your computer. Even worse, innocent ActiveX controls could be used as security ...