.NET Assembly permissions

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default .NET Assembly permissions

    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
    Nick Goloborodko Guest

  2. Similar Questions and Discussions

    1. Contribute permissions vs. network permissions
      We are currently implementing Contribute in a website that is highly centralized, with approximately 50 department-level CT writers and 4 CT...
    2. Assembly acessing StrongNamed assembly getting "Access Denied" intermitently
      I have an ASP.NET application that is using a code library our development team uses. The code library is a few web controls in a Strong Named...
    3. Reading the public key inside a strongly signed assembly from the assembly itself???
      Hello, is it possible to programmatically read (and how) the public key that is embedded into an assembly that has been strongly signed??? What...
    4. How can I tell waht permissions an assembly requires?
      Is there a tool that tells me what permissions my assembly requires? I have add to deny all permissions I just want to now grant one I require?...
    5. GAC assembly with ASP.NET
      There's no need to put your Class Library in the GAC, give it a strong name, etc., BTW. You can just put a copy of the DLL in the /bin folder of...
  3. #2

    Default RE: .NET Assembly permissions

    Hello Nick,

    Security consideration is always a best practice for .NET programming. You
    may implement your customized security stratage based on the requirement of
    your system. Following are some good article on .NET Code Access Security,
    you may take a look to see if it will help:

    Code Access Security in Practice
    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secmod/html[/url]
    /secmod81.asp

    Secure Coding Guidelines for the .NET Framework
    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/ht[/url]
    ml/seccodeguide.asp

    Luke

    [MSFT] Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139