Security roles for Developers

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

  1. #1

    Default Security roles for Developers

    Hi all,

    I was wondering what local security groups a developer needs to belong
    to in order to be able to write, test and debug VB, C# and ASP.net on
    Windows XP?

    The groups that are in question are Debugger Users and VS Developers. I
    wanted to know if a .NET developer has to be in both, or either (not all of
    our VS.NET users use the debugging capabilities.

    Also, does a VS.NET developer need to be a Local Admin?

    Thanks in advance.

    David


    David Bailie Guest

  2. Similar Questions and Discussions

    1. Roles in encrypted cookie, security problem?
      Hi, I was just looking over a few samples of role based security in combination with forms based authentication. The samples I find seem to store...
    2. developers map
      hi, maybe this is a bit off-topic but is the map in the developer page dinamyc? if so, is taking data from a postgresql database? where can i...
    3. Roles Based Security and Server.Transfer Problem
      Hi All, I'm looking into a Security solution using ASP.NET and C# for an Enterprise level application. I would like to implement Role based...
    4. Roles Based Security and Server.Transfer
      Hi All, I'm looking into a Security solution using ASP.NET and C# for an Enterprise level application. I would like to implement Role based...
    5. Windows Groups/Roles Security in asp.net
      I have a problem with implementing windows groups as a form of role based security. I have implemented it exactly as described in...
  3. #2

    Default Security roles for Developers

    In general - all VS.NET debugging is done through a gatekeeper mechanism called "Machine Debug Manager" - the mdm requires you to be a) local admin or b) member of the debugger users group.

    this will work for console apps, winforms a.s.o.

    a exception is, when you want to debug applications which are running in different security contexts (asp.net, nt services, enterprise services) you need to have admin privileges (even SeDebugPrivilege won't help).

    When you don't want to run with admin privs you have to start the app you want to debug under the same security context as you are running (asp.net -> processmodel under IIS5, app pool identity under IIS6, es -> interactive user or nt services -> identity).

    The VS Developers groups grants rights for non-admins to create vdirs and web applications in IIS

    to summarize:

    Apps that run in your context : Debugger Users

    Apps that don't run in your context : Admin



    ---
    Dominick Baier - DevelopMentor
    [url]http://www.leastprivilege.com[/url]

    nntp://news.microsoft.com/microsoft.public.dotnet.framework.aspnet.security/<#IOK3R48EHA.3616@TK2MSFTNGP11.phx.gbl>

    Hi all,

    I was wondering what local security groups a developer needs to belong
    to in order to be able to write, test and debug VB, C# and ASP.net on
    Windows XP?

    The groups that are in question are Debugger Users and VS Developers. I
    wanted to know if a .NET developer has to be in both, or either (not all of
    our VS.NET users use the debugging capabilities.

    Also, does a VS.NET developer need to be a Local Admin?

    Thanks in advance.

    David



    [microsoft.public.dotnet.framework.aspnet.security]
    Dominick Baier Guest

  4. #3

    Default Re: Security roles for Developers

    "David Bailie" <dbailie@ernexinc.com> escribió en el mensaje
    news:%23IOK3R48EHA.3616@TK2MSFTNGP11.phx.gbl...
    > does a VS.NET developer need to be a Local Admin?
    Absolutely not. VS.NET developers should not be admins. I switched to non
    admin some months ago and you can develop normally. Here you have some
    resources:

    The Non-Admin blog - running with least privilege on the desktop
    [url]http://weblogs.asp.net/aaron_margosis/[/url]

    Developing Software in Visual Studio .NET with Non-Administrative Privileges
    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/tchDevelopingSoftwareInVisualStudioNETWithNon-AdministrativePrivileges.asp[/url]

    Developing as non-Admin with VS.NET 2003
    [url]http://cyberforge.com/weblog/aniltj/articles/254.aspx[/url]

    How To Use the ASP.NET Utility to Encrypt Credentials and Session State
    Connection Strings
    [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;329290[/url]

    Item 9: How to develop code as a non-admin
    [url]http://www.informit.com/content/images/0321228359/samplechapter/brown_ch.pdf[/url]

    > The groups that are in question are Debugger Users and VS Developers. I
    > wanted to know if a .NET developer has to be in both, or either (not all
    > of our VS.NET users use the debugging capabilities.
    I don´t remember about the Debugger Users group (the answer is in the docs
    above) but I remember that the VS Developers group makes the ASP.NET wizard
    to create ASP.NET solutions much happier. Otherwise you have to create IIS
    virtual folders first and I experienced some problems. So, I am in both
    groups.

    --

    Carlos J. Quintero

    MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET
    You can code, design and document much faster.
    [url]http://www.mztools.com[/url]



    Carlos J. Quintero [.NET MVP] Guest

  5. #4

    Default Re: Security roles for Developers

    for development you don't need admin rights - for debugging - yes!



    ---
    Dominick Baier - DevelopMentor
    [url]http://www.leastprivilege.com[/url]

    nntp://news.microsoft.com/microsoft.public.dotnet.framework.aspnet.security/<eo9YK1J9EHA.1404@TK2MSFTNGP11.phx.gbl>

    "David Bailie" <dbailie@ernexinc.com> escribi? en el mensaje
    news:%23IOK3R48EHA.3616@TK2MSFTNGP11.phx.gbl...
    > does a VS.NET developer need to be a Local Admin?
    Absolutely not. VS.NET developers should not be admins. I switched to non
    admin some months ago and you can develop normally. Here you have some
    resources:

    The Non-Admin blog - running with least privilege on the desktop
    [url]http://weblogs.asp.net/aaron_margosis/[/url]

    Developing Software in Visual Studio .NET with Non-Administrative Privileges
    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/tchDevelopingSoftwareInVisualStudioNETWithNon-AdministrativePrivileges.asp[/url]

    Developing as non-Admin with VS.NET 2003
    [url]http://cyberforge.com/weblog/aniltj/articles/254.aspx[/url]

    How To Use the ASP.NET Utility to Encrypt Credentials and Session State
    Connection Strings
    [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;329290[/url]

    Item 9: How to develop code as a non-admin
    [url]http://www.informit.com/content/images/0321228359/samplechapter/brown_ch.pdf[/url]

    > The groups that are in question are Debugger Users and VS Developers. I
    > wanted to know if a .NET developer has to be in both, or either (not all
    > of our VS.NET users use the debugging capabilities.
    I don?t remember about the Debugger Users group (the answer is in the docs
    above) but I remember that the VS Developers group makes the ASP.NET wizard
    to create ASP.NET solutions much happier. Otherwise you have to create IIS
    virtual folders first and I experienced some problems. So, I am in both
    groups.

    --

    Carlos J. Quintero

    MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET
    You can code, design and document much faster.
    [url]http://www.mztools.com[/url]




    [microsoft.public.dotnet.framework.aspnet.security]
    Dominick Baier 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