[Mono-devel-list] Assembly Security

Peter Williams peter at newton.cx
Thu Jul 22 00:23:29 EDT 2004


Would just marking some of your methods / classes as 'internal' do the
job?

.Net has a framework called Code Access Security for doing more advanced
control along these lines, but it isn't implemented in Mono and probably
won't be for a while.

Peter

On Wed, 2004-07-21 at 22:40, Matthew Metnetsky wrote:
> I'm developing a system where there is a class (CoreLogic) which is
> extremely important.  It provides all basic data access for every base
> model in my design.  Is there a way in C#/.NET to limit access to this
> class?  For instance, is there a way to make it so that other assemblies
> than the one CoreLogic sits in can only make use of _some_ methods?  If
> so, is there a way to specify via some sort of Key perhaps just how much
> access is given?  Trusted use (insert, update, delete, read) VS.
> Untrusted use (read).
> 
> Looking through MSDN for this is making me go blind.  The info in the
> security namespaces is minimal and cryptic (at least to me).  
> 
> Has anyone done something similar to what I propose above?  Where might
> I get started to find some of this out?
> 
> Thanks in advance, as always
> 
> ~ Matthew
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
-- 
Peter Williams                          peter at newton.cx

"[Ninjas] are cool; and by cool, I mean totally sweet."
                              -- REAL Ultimate Power




More information about the Mono-devel-list mailing list