I have created an assembly, which contains two class (Cls1,cls2), in which
Cls1 contains 3 properties Prop1, Prop2,Prop3 and Cls2 contains some other
properties.
Now i am using this assembly (Add reference) in some other assemblies Assb1
and Assb2.
In Assb1 i do not want Cls2 to be visible, but Cls1 should be visible.Here i
should be able to get the property values, setting property values should not
be allowed.
In Assb2 i want both to be visible, also from Assb2 i can set/get the
properties of Cls1.
how can i achieve this functionality, is there any way with CAS? Please let
me know. Thanks
Amb k - 31 Aug 2007 13:28 GMT
Does anyone know the answer?
Dominick Baier - 31 Aug 2007 21:59 GMT
There is no bulletproof way of doing this.
-----
Dominick Baier (http://www.leastprivilege.com)
Developing More Secure Microsoft ASP.NET 2.0 Applications (http://www.microsoft.com/mspress/books/9989.asp)
> Does anyone know the answer?