RE: asp.net impersonation - Access is denied

From: Gary (gary@online.microsoft.com)
Date: 09/06/02


From: gary@online.microsoft.com (Gary)
Date: Fri, 06 Sep 2002 09:42:54 GMT


If the VDir is pointing to an UNC share, then we parse the aspx file
contents and create all the folders under the Temporary ASP.NET Files
folder using the "Connect
As" user (that we specify while creating the VDir in IIS ) security context
and not the process identity. (It is the process Identity if the vdir is
pointing to a local folders but not UNC shares).

Give the appropriate rights to the "Connect As" user should resolve the
issue.

Usually, it is suggested to choose the "Connect as" user to be a strong
local user and weak remote user. That means, that account should have as
many permissions and rights as that of ASPNET account(process identity) and
just the permissions on the content on the remote machine where UNC share
is located.

Gary

This posting is provided "AS IS", with no warranties, and confers no
rights. Enjoyed ASP.NET? http://www.asp.net



Relevant Pages

  • Re: Strange password behavior with Linux
    ... Sounds like you are talking about having a vdir whose physical directory is ... If you configure the UNC Username/password for a vdir, ... authentication, where the authenticate user is used to access the UNC share. ... fileserver together with appropriate user/pass. ...
    (microsoft.public.inetserver.iis.security)
  • Random File Visiblity XP
    ... but if I view the same directory from SERVER through a UNC path ... folders that are shared beneath it. ... of the same folder viewed from 3 different ways (direct UNC, ...
    (microsoft.public.windowsxp.general)
  • Re: home lan puzzler
    ... Can you access "invisible" files by UNC? ... Yes the folders are accessable by ... Mach1 does not appear in its own Network places at ... Someone mentioned properties or permission propagation. ...
    (microsoft.public.windowsxp.network_web)
  • Re: policy
    ... I have a folder "userfiles" on the server. ... a list of shared folders are different from ability to connect to them via ... UNC path or reading their content. ...
    (microsoft.public.windows.server.active_directory)
  • Re: GPO for offline files - Users Home Directory, possible?
    ... folders, you share a folder like "UserFolders", and give each user a ... "Mike S." ... > a drive letter instead of the UNC even though the GPO setting says you ... > use a UNC? ...
    (microsoft.public.win2000.group_policy)