
578 Chapter 12 • Security
3. In case special data types have to be supported, you must implement the
interface ISerializable.
4. You must implement XML encoding and decoding.
5. You must implement the support for declarative security.
6. Add Demand calls for the custom permission in your code.
7. Update the security policy so that the custom permission can be added
to permission sets.
Role-Based Security
Role-based security is not new to the .NET Framework. If you already have
experience with developing COM+ components, you surely have come across
role-based security.The concept of role-based security for COM+ applications is
the same as for the .NET Framew ...