Re: IIS 6.0 with Mapped Drives by Ken
Ken
Sat Jun 05 05:50:17 CDT 2004
Hi,
a) Do not use mapped drive letters. They are mapped for the logged on user
only. Instead, use UNC paths (\\server\share)
b) The user account that IIS is impersonating needs to have permissions to
the remote resource. If you are using anonymous authentication, then the
default IUSR account is local to the webserver, and can't be assigned
permissions to the remote resource. You can change this to a domain account
or similar. If you are not allowing anonymous auth, but requiring the user
to authenticate, and you want the credentials to be passed through to the
remote file server then you wil need to:
- use Basic Auth + SSL
and/or
- Kerberos + Delegation
and/or
- if you are using Windows 2003 domain, then you can use protocol
transition
Cheers
Ken
"A. Moghazy" <anonymous@discussions.microsoft.com> wrote in message
news:AA7C80A0-EC49-431D-8B42-221B9F6E55FA@microsoft.com...
: Hi,
: 1. did you setup this folder as a virtual directory? Or are you using some
: kind of web app to access the remote share?
:
: Let me explain to you the situation, all the ASPs are located on the local
folder on local drive on the server, this local folder is Virtual Directory
(APPLICATION) , what I need is making the ASP file code (File System Object
component/ADO for example) access other files on a Mapped drive, this mapped
drive points to share on other machine.
:
: For example, imagine that your ASP pages on your Windows 2003 server need
to access MDB file on a remote shared folder, you already mapped this share
as a drive on your server, when you connect (with ADO) to this file (MDB
file) you will get an error tells you that file not found, this error did
not occur on Windows 2000/ NT 4.0.
: