Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Security / August 2007

Tip: Looking for answers? Try searching our database.

Changing Visibility of Class/Class members in different assemblies

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Amb k - 17 Aug 2007 01:52 GMT
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?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.