Re: CAS and Office Development.

From: Nicole Calinoiu (calinoiu)
Date: 06/18/05

  • Next message: Mary Chipman [MSFT]: "Re: reference for .net security"
    Date: Sat, 18 Jun 2005 07:56:34 -0400
    
    

    "Scott Gauthier" <-> wrote in message
    news:ejMQGd4cFHA.1276@tk2msftngp13.phx.gbl...
    <snip>
    > BTW:
    > I have all the frameworks installed on it: 1.0, 1.1 and 2.0, not that
    > this should matter but I figured I would throw it out there anyways...

    That might actually explain the problem. Both the CAS policy and CAS
    enabling/disabling (via caspol -s off) are version-dependent, and I'm
    guessing that your policy reset and/or CAS disabling weren't applied to the
    same version of the framework as is actually loading the assembly. I
    haven't tried running a VSTO app on a multi-version install before but, if
    it's anything like an IE-loaded assembly, there's probably no way to choose
    the target Framework version. If so, it's probably being loaded in v.2
    regardless of which version you used to code it. If altering the v.2 policy
    doesn't work, try making the same policy alteration for all versions.


  • Next message: Mary Chipman [MSFT]: "Re: reference for .net security"

    Relevant Pages

    • Re: ASP.NET Security Exception Error
      ... Setting the AppDomain principal policy requires ... This limitation may be the result of either the CAS (code access ... security) policy on the machine or the ASP.NET trust level at which your ...
      (microsoft.public.dotnet.framework)
    • Re: CAS and Office Development.
      ... Both the CAS policy and CAS ... > same version of the framework as is actually loading the assembly. ... > haven't tried running a VSTO app on a multi-version install before but, ...
      (microsoft.public.dotnet.security)
    • Re: CAS and performance
      ... > I would like to clear some basic understanding of how CAS works. ... Client application will run with the default security policy. ... permissions, so any given application might run with a lesser permission set ... resources that might be abused by malicious code. ...
      (microsoft.public.dotnet.security)
    • MASSIVE VIOLATIONS OF PRIVACY AND HUMAN RIGHTS IN USA - sample
      ... PLEASE MAIL YOUR POLICY ABOUT THE ... matter how the privacy of the person ... Agnes Cherry ... FOOD STAMPS PREVENT USING THE FOOD SUPPLEMENTS). ...
      (soc.culture.usa)
    • MASSIVE VIOLATIONS OF PRIVACY AND HUMAN RIGHTS IN USA - sample
      ... PLEASE MAIL YOUR POLICY ABOUT THE ... matter how the privacy of the person ... Agnes Cherry ... FOOD STAMPS PREVENT USING THE FOOD SUPPLEMENTS). ...
      (soc.culture.usa)

  • Quantcast