why so hard to figure out security for simple situation

From: Dominick Baier (dotnet_at_leastprivilege.com)
Date: 09/12/04

  • Next message: Dominick Baier: "Am I missing something or has MS missed the plot?"
    To: microsoft.public.dotnet.security
    Date: Sun, 12 Sep 2004 09:38:16 -0700
    
    

    in addition to turn on security and populate your roles - there is a special role called 'Marshaler' - every user that wants to access your component has to be in this role. consider adding 'Authenticated Users'

     

     ---
     Dominick Baier - DevelopMentor
     http://www.leastprivilege.com

       nntp://news.microsoft.com/microsoft.public.dotnet.security/>

     I simply am trying to call a Serviced Component from a Windows
     Application GUI. Very Simple. You click a button, and a message box
     pops up showing you the string that the serviced component method
     returns.
     
     
     It works if I deploy the Serviced Component as a Library (of course
     but that's not distributed computing).
     
     I followed this example:
    http://www.15seconds.com/issue/030501.htm
     
     It doesn't work when I deploy as a server to the GAC, ... unless.. I
     turn off security.
     
     Why is it so hard to figure out how to enable my GUI to make the call.
     I need to build a Three Tiered GUI App. It isn't Web Based.
     
     Sure, there are reams of documentation. I've read, and read, and
     read. I a B.S.E.E., and can can't get this simple thing working.
     
     What am I missing?
     
     I get: Access is Denied
     
     Thanks.
     
     [microsoft.public.dotnet.security]


  • Next message: Dominick Baier: "Am I missing something or has MS missed the plot?"
    Loading