ASP.NET 2.0 with UNC share - security restriction & impersonation



Hello-

Web Server Platform: IIS 6.0 on Windows Server 2003, dotNet 2.0

UNC Share: located on remote server in same domain, Windows File
server

Application is ASP.NET 2.0 and must retrieve certain HTML pages and
images from the UNC share. The virtual directory which points to a
UNC share is set to run under a domain account. This account has the
appropriate access to the various .net-related directories on the web
server, because I ran the aspnet_regiis -ga <account> command.

In the web.config file, I am using impersonation under the same
domain
account listed above.

My goal is to restrict the viewing of this web application to a
restricted internal audience. Therefor I have the IIS security set
to
Windows authentication only, and have restricted security on the
folder level to the web files.

I'm trying to restrict access to this folder with NTFS permissions,
but the ASP.NET domain account I'm using must obviously have read
access to the web application and UNC share. I removed the
"<LocalMachine>\Users" read access, but re-added "Network",
"Interactive" and "Network Service" read access.

How can I use ASP.NET impersonation to connect to a UNC share, but
still restrict access with Windows permissions? There must be a
better way than my approach. Your help is appreciated.

.



Relevant Pages

  • ASP.NET 2.0 security settings & impersonation to UNC share
    ... Web Server Platform: IIS 6.0 on Windows Server 2003, ... UNC Share: located on remote server in same domain, Windows File ... I'm trying to restrict access to this folder with NTFS permissions, ...
    (microsoft.public.inetserver.iis.security)
  • Re: unc name failed
    ... I do it as stand-alone server for 1 day and retrived data. ... But the UNC name of the server can not be reached. ... a windows login screen prompted out. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Cannot find mapped drive
    ... Can u tell me what is the difference betweeen UNC and Mapped drive path ... Edwin vMierlo wrote: ... future the server name changes I have to change my .ini file for all ... windows 2003 but the services doesn't start saying Mapped drive not ...
    (microsoft.public.windows.server.general)
  • unc name failed
    ... I do it as stand-alone server for 1 day and retrived data. ... Becasue some users encrypt data, I tried to restore system state and the ... But the UNC name of the server can not be reached. ... a windows login screen prompted out. ...
    (microsoft.public.windows.server.active_directory)
  • Help with Policys
    ... I created a group on my windows 2003 server and added some usernames to that ... I would like to restrict this group from being able to install ...
    (microsoft.public.windows.group_policy)