Assembly Level Security

From: David Parry via .NET 247 (anonymous_at_dotnet247.com)
Date: 09/06/04

  • Next message: Viorel Ghilas: "Assembly security"
    Date: Mon, 06 Sep 2004 07:30:42 -0700
    
    

    (Type your message here)

    --------------------------------
    From: David Parry

    Hi All,

    My scenario is this:
    I have a 3 tier application. Client, BLL and DAL. Client is an exe, BLL and DAL are assemblies (.dlls).
    There is also a business entity assembly, of which the objects are manipulated by all the above layers.

    What I want:
    I wan't to somehow apply code access permissions to all the method signatures in each of the business entities so that they can only be called by the DAL layer. I was thinking that I could apply some security attribute of sorts to those methods I want to secure, and then hard-code the security role into the relevant assemblies.

    To make it more interesting the app is being deployed as a smart client, and hence no setup using the framework secuity wizards can be done on the client workstation.

    Any ideas??

    Regards

    Dave

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

    <Id>K+6vWVNOcUqajU2hxloxpg==</Id>


  • Next message: Viorel Ghilas: "Assembly security"

    Relevant Pages

    • Re: VB.net and ASP.Net Typed Datasets
      ... tier while a windowforms is standard a physical 2 tier. ... by all your client with the general UI client their browser. ... we have designed a DAL and BLL using typed datasets with the Dataset ... inadequacies with the web controls and the winform. ...
      (microsoft.public.dotnet.framework.adonet)
    • Re: Architecture Question
      ... I dont think the BLL should care what type of connection it is. ... If you need to use a remote client (ie, wse2), then you should have another ... instantiate the correct request channel handler based on the config item ...
      (microsoft.public.dotnet.distributed_apps)
    • Re: Architecture Question
      ... Class BLL ... information from the config file or other layers itself. ... > If you need to use a remote client, then you should have another ... > instantiate the correct request channel handler based on the config item ...
      (microsoft.public.dotnet.distributed_apps)
    • Re: Architecture Question
      ... > Class BLL ... >> specificaly accepts calls from a WSE2 client, ... >> - Paul Glavich ... >> ASP.NET MVP ...
      (microsoft.public.dotnet.distributed_apps)
    • Re: The Big Question...
      ... With smart clients (href exe), for each client you need to change policy ... settings to their machine to trust the url that the exe resides. ...
      (microsoft.public.dotnet.framework.performance)