Re: Problems with authenticated users accessing asp's

From: Duane Laflotte (dlaflotte_at_criticalsites.com)
Date: 05/25/05


Date: Wed, 25 May 2005 14:52:22 -0400


    Good question. So unless impersonation is turned on in the web.config
then if you are doing any external IO from .Net (read/write files etc) as
the ASPNET user (or more accurately as the user that is running the ASPNET
worker process). So even if the site is NT auth and the user logs in, the
actual file access for read and write is as the aspnet account.
(Its always a neat demo to deny a user access to a file that is being read
with the System.IO classes and then see that user log into the web
application and still get access to that file proving this point.)

    However, there is a difference in the account that runs the processes
between Windows 2003 and the rest of the .Net running OS's. 2003 actually
uses a lower privilege no net access account where as windows 2000 would use
the normal ASPNET account. So this may be where you are seeing the
difference.

Hope this Helps,

-- 
Duane Laflotte
MCSE, MCSD, MCDBA, MCSA, MCT, MCP+I
dlaflotte@criticalsites.com
http://www.criticalsites.com/dlaflotte
"Gavin" <gavin@dont.spam.me.com> wrote in message
news:79605EC8-5B01-42BC-83FC-ECEB63CBCF48@microsoft.com...
>
> I have IIS serving static content and asp's from IIS6 on Win2003 Server.
The
> site uses Integrated Security with the server on a 2003 server domain.
> Clients are on a different domain and enter login information in the
browser
> pop-up.
> The behaviour I get is as follows ..
>
> - All domain users can access html files.
> - A user I've added to the Administrators group on the web server can use
> the site without trouble - all other users are given a 500 response to
> attempts to access asp's and in the log file I get a permission denied
error.
>
> 2005-05-25 09:56:56 W3SVC25858248 xxx.xxx.19.25 GET /Default.asp
> |34|800a0046|Permission_denied 2002 telem\holland xxx.xxx.244.109 HTTP/1.1
> Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1) xxx.xxx.19.25:2002
> 500 0 0 409
>
> - If I drop the site back to anonymous login all works fine.
>
> There is obviously a simple setting I'm missing, and am hopping someone
will
> be able to point me at it.
> I've tried adding 'telem\Domain Users' (where telem is the webserver's
> domain)to a number of the local security settings (including 'Access this
> computer from the network'). Is there a definitive list of which are
required
> - I've added 'telem\Domain Users' to all entries that have
'IUSR_servername'
> and even 'IIS_WPG' out of desperation. Any other thoughts?
>
> Regards
> Gavin
>


Relevant Pages

  • Re: Access a Network Share From ASP.NET
    ... If you have correctly followed instructions on creating custom ASPNET ... server also your development machine? ... You should now have command prompt window running as ASPNET account ... Go there and check share permissions and file permissions ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Web Service Security problem
    ... the server. ... the failed logon attempt was ASPNET. ... >Allowin that account access to lan resources would be a large security risk. ... >> Another possible issue is the ASPNET account on the server. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Windows Identity and IIS6.0
    ... Please undo your permission changes to ISA_User and ASPNET account -- they ... On IIS6, ASP.Net is configured to not impersonate, and the Application Pool ... My operating system is Win 2003, Framework is 1.1 and Web Server is IIS 6.0 ... I have give Full permission to the ISA_User account and ASPNET Account. ...
    (microsoft.public.inetserver.iis)
  • ASP.NET process identity does not have read permissions to the global assembly cache.
    ... "Server Application Unavailable ... determined that aspnet_wp.exe is running as ASPNET. ... Verified that the ASPNET user has read permissions to WINNT\assembly ... process identity doesn't have read permissions to the GAC when it does? ...
    (microsoft.public.dotnet.framework.aspnet)
  • ASPNET User ID Permissions
    ... W2K Server running IIS 5. ... ASP.NET web page on this server. ... permissions issue somewhere with the ASPNET user ID. ... still missing some folder and/or file that ASPNET needs to be able to ...
    (microsoft.public.dotnet.framework.aspnet.security)