|
Home > Archive > IIS ASP > March 2006 > Accessing a shared file with ASP
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Accessing a shared file with ASP
|
|
|
| Hi,
I have 2 servers and I would like to access shared files on server 1
from an asp page situated in the server 2 (with the filesystem object).
I can't do it, I think, due to access restriction with the user IUSER_...
Both servers are Windows 2003 server no situated in a domain.
Is there a solution to this problem ?
Thanks for your help,
Fred
| |
| Roland Hall 2006-03-17, 2:57 am |
| "Fred" <fred31@plansdereseaux.com> wrote in message
news:4417eb3f$0$29185$8fcfb975@news.wanadoo.fr...
: Hi,
:
: I have 2 servers and I would like to access shared files on server 1
: from an asp page situated in the server 2 (with the filesystem object).
:
: I can't do it, I think, due to access restriction with the user IUSER_...
:
: Both servers are Windows 2003 server no situated in a domain.
:
: Is there a solution to this problem ?
Setup a virtual directory and give the IUSR account on server 2 the rights
it needs on server 1.
--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
| |
| Anthony Jones 2006-03-17, 7:50 am |
|
"Roland Hall" <nobody@nowhere> wrote in message
news:e8WbW5XSGHA.5156@TK2MSFTNGP10.phx.gbl...
> "Fred" <fred31@plansdereseaux.com> wrote in message
> news:4417eb3f$0$29185$8fcfb975@news.wanadoo.fr...
> : Hi,
> :
> : I have 2 servers and I would like to access shared files on server 1
> : from an asp page situated in the server 2 (with the filesystem object).
> :
> : I can't do it, I think, due to access restriction with the user
IUSER_...
> :
> : Both servers are Windows 2003 server no situated in a domain.
> :
> : Is there a solution to this problem ?
>
> Setup a virtual directory and give the IUSR account on server 2 the rights
> it needs on server 1.
>
> --
> Roland Hall
> /* This information is distributed in the hope that it will be useful, but
> without any warranty; without even the implied warranty of merchantability
> or fitness for a particular purpose. */
> technet Script Center - http://www.microsoft.com/technet/scriptcenter/
> WSH 5.6 Documentation -
http://msdn.microsoft.com/downloads/list/webdev.asp
> MSDN Library - http://msdn.microsoft.com/library/default.asp
>
Why setup a virtual directory?
If the access is via File system object how does a virtual directory help?
Also it can be difficult to give IUSR access to a share on another system
because it is usually a local account (unless the web server is also a
domain controller).
Do you know how to grant a local IUSR account access to a network resource?
Anthony.
|
|
|
|
|