Security Problems in ASP.NET 2.0

From: Jaime Stuardo (JaimeStuardo_at_discussions.microsoft.com)
Date: 07/25/05


Date: Mon, 25 Jul 2005 07:31:06 -0700

Hi all..

Since I installed ASP.NET 2.0, I have a lot of problems concerning Sercurity.

Using default authorization configuration I could develop applications
remotely using VS.NET because I added my network user as part of the VS
developers group in the remote machine.

This way, when I run the application, I cannot call a web service (presented
in the same remote machine) because it says that NETWORK SERVICE doesn't have
permissions.

In order to solve that, I added this piece of code to the web.config file:
        <identity impersonate="false"/>
        <authorization>
                <deny users="?"/>
                <allow users="*"/>
        </authorization>

This way, pages work (not throwing the same permission error), but I
affected development. When using VS.NET, a popup authenticatin dialog is
shown. I need to authenticate using administrator credentials in order to the
project to load correctly and to allow page modifications. My network user,
besides being in VS developers group, have full access permissions to web
site directories (from wwwroot$ and below), so I don't know what else to
check.

Any help would be greatly appreciated.

Thanks
Jaime



Relevant Pages

  • Re: RWW
    ... the only difference is the NTFS permissions on the ... In fact the metabase need password only when restore to local server. ... The problem may be caused by corrupt Remote virtual directory, ... Microsoft CSS Online Newsgroup Support ...
    (microsoft.public.windows.server.sbs)
  • Re: RWW - Local Policy connect to desktop issue
    ... particular user account, but I've got no idea what it could be after ... permissions as well as the replace permissions. ... I see is in the logon script. ... properties and enabled the Remote Desktop service. ...
    (microsoft.public.windows.server.sbs)
  • Network share as a Publishing Point source
    ... Give the common user appropriate permissions on folders, ... publishing points, ... >original account would keep me from mapping a publishing ... >>>I tried setting up a remote share for WM9 Services, ...
    (microsoft.public.windowsmedia.server)
  • Re: RWW - Local Policy connect to desktop issue
    ... You might be able to set the default SBS template permissions to the ... affected user to get the account reset to expected values. ... properties and enabled the Remote Desktop service. ...
    (microsoft.public.windows.server.sbs)
  • Re: RWW - Local Policy connect to desktop issue
    ... permissions as well as the replace permissions. ... I see is in the logon script. ... affected user to get the account reset to expected values. ... properties and enabled the Remote Desktop service. ...
    (microsoft.public.windows.server.sbs)