Accessing a shared file with ASP

F

Fred

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
 
R

Roland Hall

: 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
 
A

Anthony Jones

Roland Hall said:
: 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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top