Writing custom security attribute

From: Gopalakrishnan N.T via .NET 247 (anonymous_at_dotnet247.com)
Date: 08/28/04


Date: Sat, 28 Aug 2004 05:35:40 -0700

How can I implement my own Security using Attributes. Typically, I want to inherit SecurityAttribute (or CodeAccessSecurityAttribute) and implement my own security at the Assembly-level (My attribute will be Assembly-level only). Any pointers to the same will be helpful. Also, I would like to know whether inheriting either SecurityAttribute or CodeAccessSecurityAttribute will make my Attribute to be called automatically when the assembly is loaded.

Thanks and Regards,
Gopalakrishnan N.T

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>YBGS97xmO06S5D91qVmyvQ==</Id>