.NET Assembly permissions

From: Nick Goloborodko (coolbest_at_paradise.net.nz)
Date: 02/20/05

  • Next message: Baiju: "Secure and Non-Secure Items"
    Date: Mon, 21 Feb 2005 01:49:18 +1300
    
    

    Hi,

    I am in the process of working on ASP.NET web control. Basically the control
    is just a timer which after a certain timespan posts the page back to
    server. It is now functionally complete, and as good coding practice i ran
    FxCop on the assembly.

    Im a relative newbie in .NET, espacially when it comes to subjects like
    security, which previously i just tended to ignore because it was
    non-essential for a functionally complete product.

    FxCop complained that Assemblies should declare minimum security. At the
    moment im looking for a quick fix, so what should a security permissions of
    such assembly be?

    Kind regards,
    nick Goloborodko


  • Next message: Baiju: "Secure and Non-Secure Items"

    Relevant Pages

    • .NET Assembly permissions
      ... I am in the process of working on ASP.NET web control. ... is just a timer which after a certain timespan posts the page back to ... FxCop complained that Assemblies should declare minimum security. ...
      (microsoft.public.dotnet.security)
    • Re: Code Access Security Enforcement anamoly - - Thx in advance.
      ... If we look at the documentation and security changes since v1.0 of .NET, ... so that any assemblies under that website would be considered as fully ... > Hi Shawn, ... >> You are probably running into a situation with dynamic compilation. ...
      (microsoft.public.dotnet.security)
    • Re: Am I the only one with doubts about .NET for commercial apps?
      ... > So far, I have found only these two weaknesses, but these are BIG ... harder to do in unmanaged code, no licensing restrictions you add there are ... sense of security by making it clearer how easy it is to do. ... You can make reusing your assemblies a bit harder by using identity demands, ...
      (microsoft.public.dotnet.general)
    • RE: Decleration Excel.Application or what
      ... security error when you call into the NanoSort class. ... When you create and build your VSTO project a .NET security policy is ... assemblies reside rather than just the VSTO assembly and this should correct ...
      (microsoft.public.vsnet.vstools.office)
    • RE: Windows Service cannot create text files?
      ... should know that running your service as the Local System account is Very ... If your service has a single security flaw that is exploited, ... The steps for changing the policy for the user ... This will import the strong name and only assemblies ...
      (microsoft.public.dotnet.languages.vb)