Dynamic Security Attributes?

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

  1. #1

    Default Dynamic Security Attributes?

    Is it possible to add declarative security attributes to
    classes or methods at runtime? I am toying with the idea
    of a class factory that emits classes with their own
    security structure "at birth" instead of hard-coding
    everything in at design time.

    Thanks.
    localhost Guest

  2. Similar Questions and Discussions

    1. Change Flash Security Settings? Security ManagerOffline?
      Hello I have downloaded firefox and flash player, I have content which when I run it, flash blocks it wisely and reports that the page is trying...
    2. Dynamic <INPUT name=" "> attributes
      Hello everyone. I seem to be in a rut on a local intranet web application im working on. I am developing a questionaire for a portion of the...
    3. Dynamic Attributes
      Is it possible to read dynamic attributes into an array?For example: i have the attributes as ans_1,ans_2,ans_3,ans_4,..... Depending on the user...
    4. Dynamic security access for a template
      I have an intranet auction project. Anyone can see the items, but only certain groups of people can actually bid on an item. Agency A (made up...
    5. Security tool to check CGI scripts for security holes/vulnerabities
      I'm searching for a good security tool that I can use regularly to scan all the programs/scripts in my web servers cgi-bin directory to identify...
  3. #2

    Default RE: Dynamic Security Attributes?

    You may take a look at ReflectionPermission Class:

    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/[/url]
    frlrfsystemsecuritypermissionsreflectionpermission classtopic.asp

    Luke
    Microsoft Online Support

    Get Secure! [url]www.microsoft.com/security[/url]
    (This posting is provided "AS IS", with no warranties, and confers no
    rights.)


    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