Problem with running a web site off a remote share
From: Nick Keill (nkeill@mail.globalnet.co.uk)
Date: 05/23/02
- Next message: Nick Keill: "Load-Balancing SSL????!!!!?????"
- Previous message: Nick Keill: "ACCESS FTP"
- In reply to: Stoyan Stratev: "Problem with running a web site off a remote share"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Nick Keill" <nkeill@mail.globalnet.co.uk> Date: Thu, 23 May 2002 08:32:22 -0700
Hi,
I am only just getting to grips with .net but I can tell
you that if the website is set to allow anonymous access
then all the files required will be being requested by
<localmachinename>\IUSR_<machinename> (unless you have
changed that specifically) this means that unless you
happen to have an account of the same name on the remote
machine (with the same password which you are unlikely to
know because NT changes this automatically on a regular
basis, unless you prevent it from doing so) your website
will not be able to get to them. So you can either change
the website to not allow anonymous access (NTLM being
preferred) then each user who needs access to the Website
will need a minimum of read access to the remote share or
you can change the anonymous user to a domain level
account that has rights on the webserver and on the
remote box. (This is probably not really ideal if your
site is exposed to the internet because if your site does
somehow get hacked the 'anonymous' user would also have
rights in the domain as opposed to sealed off)
My personal preference would be the disallow anonymous
access but top of the list would be get the files you
require off the remote box.
Hope this helps.
Nick Keill
>-----Original Message-----
>I get an error if I set the Home Directory in IIS to a
remote share/mapped
>drive but if I copy the web site to my local hard drive
everything works. Is
>there a way to run aspx pages from a remote share?
>
>What happens when i try to open http://localhost/
>/////
>CS2001: Source file '\\computer\share\website\global.cs'
could not be found
>/////
>What happens when i try to open
http://localhost/default.aspx
>////////
>System.Web.HttpException: Access denied to
>'\\bro\Inetpub\Banka2\global.asax'. Failed to start
monitoring file changes.
>////////
>
>I have full access to the remote share and this access
denied seems
>puzzling. Is it because the web server is trying to
access the share with
>its account? How do I change this?
>
>
>.
>
- Next message: Nick Keill: "Load-Balancing SSL????!!!!?????"
- Previous message: Nick Keill: "ACCESS FTP"
- In reply to: Stoyan Stratev: "Problem with running a web site off a remote share"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|