IIS 7 and Vista"s user directory

IIS 7 and Vista"s user directory

am 01.06.2007 19:15:11 von essetm

Hi all,

I've recently installed Vista (Ultimate) with IIS 7. I'm trying to
access users' web directory (http://localhost/[user] or ~[user]) but I
couldn't. I even added that directory as a virtual web directory. What
permission do I need to change? I've explored "sharing" property,
didn't seem to be helpful.

The reason I need this is because user's directory is more convenient
for developing works. The "wwwroot" is a protected dir.

Re: IIS 7 and Vista"s user directory

am 02.06.2007 06:51:18 von Ken Schaefer

Hi,

IIS doesn't mount the user's folder automatically underneath the website
root folder. So accessing it via ~user or similar doesn't work
automatically.

Additionally, each user's folder is automatically ACLed via NTFS permissions
so that only Administrators, the System itself, and the user can gain access
to those files/folders. That doesn't mean that your web pages (which may or
may not be running under your user context) can read those files.

The best thing to do is either:
a) create a folder under wwwroot, and put your files there. IIS, by default,
can read those files
b) create another folder somewhere else that you control, and add the
IIS_IUSRs group (if you want anonymous access to work) to the NTFS ACLs for
that folder.

Cheers
Ken

"7h@ch" wrote in message
news:1180718111.898312.75710@i13g2000prf.googlegroups.com...
>
> Hi all,
>
> I've recently installed Vista (Ultimate) with IIS 7. I'm trying to
> access users' web directory (http://localhost/[user] or ~[user]) but I
> couldn't. I even added that directory as a virtual web directory. What
> permission do I need to change? I've explored "sharing" property,
> didn't seem to be helpful.
>
> The reason I need this is because user's directory is more convenient
> for developing works. The "wwwroot" is a protected dir.
>

Re: IIS 7 and Vista"s user directory

am 05.06.2007 00:41:49 von essetm

On Jun 1, 9:51 pm, "Ken Schaefer"
wrote:

> Cheers
> Ken

Thanks