Accessing a shared file with ASP
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS ASP > Accessing a shared file with ASP




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Accessing a shared file with ASP  
Fred


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-15-06 12:49 PM

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





[ Post a follow-up to this message ]



    Re: Accessing a shared file with ASP  
Roland Hall


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-17-06 07: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







[ Post a follow-up to this message ]



    Re: Accessing a shared file with ASP  
Anthony Jones


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-17-06 12:50 PM


"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.







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:51 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register