Re: accessing files from mapped drive from another server

From: Date: Mon, 12 Apr 2004 10:22:35 +0000
Subject: Re: accessing files from mapped drive from another server
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-23419@lists.php.net to get a copy of this message
Meanwhile I got the hint, that the IIS does not accept mounted drive letters. The path to the other machine (\\server\path1..) must be used instead. I didn't test it so far. > Actually it is a security issue, too. You have to be an authetified user > (and not this anonymous one: IUSR_<machine_name>) to have access to any > remote directory. > Just uncheck the option "anonymous login" within you IIS admin for your php > script (and enter you username and password when asked). I don't want the user to enter a login&pw when accessing the files. Wouldn't it be possible to grant the IUSR_<localhost> access to the directory on the other machine? Marc > "M.Staiger" <mstaiger@informatik.uni-siegen.de> schrieb im Newsbeitrag > news:20040409092318.72257.qmail@pb1.pair.com... > > Hello NG, > > > > I need to access files via PHP from another local server. For > > security-reasons I need to access them throught their physical path (e.g. > > C:\path\file.txt) and not through a virtual path (e.g. > > http://domain/path/file.txt). Therefore I mounted a drive > > ("F:") to access > > those files (e.g. F:\path\file.txt) however this won't work. For php this > > mounted path simply seems not to exist. > > > > both servers : win 2k > > IIS5, PHP 4.3 > > > > Anyone any hints? > > > > Thanks, > > Marc > > > > -- > > PHP Windows Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > >

« previous php.windows (#23419) next »