Ask a Question related to ASP.NET Security, Design and Development.
-
Paul M. Frazier #1
Problems Accessing a UNC Share from ASP.NET Pages
I am writing an ASP.NET application that creates an Excel spreadsheet
in a UNC Share folder and allows users to download that spreadsheet,
edit it, and upload it back to the UNC share. The file exists but
when I try to download it, the aspx page just beeps at me. When I
enter the URL to the file in a browser, I get an error telling me that
Windows cannot find the file. My permissions on the share are set
the same as the end user's will be. My colleague, whose domain
account has full permission to the share, is able to go to the site
and download the file without a problem.
The application uses Integrated Windows Authentication without
Anonymous Access. The ASPNET worker process's domain account has full
access to the share. I have tried setting the web.config to
identity impersonate="false"
identity impersonate="true"
and
identity impersonate="true" userName="DOMAIN\aspnetdomainaccount"
password="password"
and all three fail.
Authentication mode = "Windows" and authorization = allow users="*".
The processModel of the machine.config file the settings are:
enable="true" userName="DOMAIN\aspnetdomainaccount"
password="password"
I have verified that the domain account has the correct access rights
to the ASP.NEt Temporary Files folder, the %temp% directory, the
application directory, and the %installroot% directory.
I have set up the share to FullTrust as described in MS KB Article
#320268 and it still fails. For security reasons, we must restrict
access to the share to the aspnet worker process. We are working in a
load-balanced environment.
It seems clear that the identity of the logged on user is being passed
to the share for Authorization and we need it to pass the worker
process identity. Can anyone advise me on how to proceed here?
Thanks,
Paul M. Frazier
[email]paul.frazier@ecotoh.org[/email]
Paul M. Frazier Guest
-
Asp.Net Web Service accessing file on UNC share
I have a web service which uses threading and impersonation to call a STA object. I have also followed KB article... -
#25469 [Bgs->Opn]: PHP has problems with accessing files and directorys in a windows share
ID: 25469 User updated by: christian at freemails dot at Reported By: christian at freemails dot at -Status: Bogus... -
#25469 [Opn->Bgs]: PHP has problems with accessing files and directorys in a windows share
ID: 25469 Updated by: sniper@php.net Reported By: christian at freemails dot at -Status: Open +Status: ... -
#25469 [NEW]: PHP has problems with accessing files and directorys in a windows share
From: christian at freemails dot at Operating system: Windows NT 5.2 build 3790 PHP version: 4.3.2 PHP Bug Type: Filesystem... -
Problems accessing web pages with IE 6.0
I am trying to access a web page with IE6.0 and I get the following error message: ======================================================= You...



Reply With Quote

