Assembly Security

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Philip Carnstam

    #1

    Assembly Security

    Hi,

    I am building an application where I want users to be able to build their
    own assemblies that they can implement and share in the application.
    The problem is that I want to add security to these assemblies. I want to
    allow usage of my assemblies, the System assembly and the System.Math
    assembly only, nothing else.
    The assemblies inherit the Op class in my application if that helps.

    Thanks,
    Philip


  • Sherif ElMetainy

    #2
    Re: Assembly Security

    Hello

    System.Math is not an assembly, it is a class and its implementation lies in
    the mscorlib assembly. I don't think there is a way to restrict access to a
    specific class or method in an assembly, unless the developer of the
    assembly made this possible using code access security.

    Best regards,
    Sherif

    "Philip Carnstam" <philip.carnsta m@carnstam.net> wrote in message
    news:uy#Gdt0tDH A.2508@TK2MSFTN GP12.phx.gbl...[color=blue]
    > Hi,
    >
    > I am building an application where I want users to be able to build their
    > own assemblies that they can implement and share in the application.
    > The problem is that I want to add security to these assemblies. I want to
    > allow usage of my assemblies, the System assembly and the System.Math
    > assembly only, nothing else.
    > The assemblies inherit the Op class in my application if that helps.
    >
    > Thanks,
    > Philip
    >
    >[/color]


    Comment

    Working...