Help needed understanding IIS user

Windows Server R2, machine webserver1

I have an asp page that uses the filesystem object to create
directories and files on a network share. It does this by using the
UNC path, e.g. \\myfileserver\share\pfolder\prj1125

When I attempt to execute this page, what user does myfileserver "see"
is trying to create the folder. Does it see \\mydomain\<logged in
user> or does it see \\webserver1\iusr_webserver1 to check if the
create operation is allowed?
es330td [ Fr, 11 Januar 2008 17:04 ] [ ID #1905523 ]

Re: Help needed understanding IIS user

"es330td" <es330td [at] gmail.com> wrote in message
news:15072df8-6936-4916-b142-7e7c1ecc126a [at] k39g2000hsf.google groups.com...
> Windows Server R2, machine webserver1
>
> I have an asp page that uses the filesystem object to create
> directories and files on a network share. It does this by using the
> UNC path, e.g. \\myfileserver\share\pfolder\prj1125
>
> When I attempt to execute this page, what user does myfileserver "see"
> is trying to create the folder. Does it see \\mydomain\<logged in
> user> or does it see \\webserver1\iusr_webserver1 to check if the
> create operation is allowed?

Typically with anonymous access enabled it will be IUSR_wevserver1. Being a
guest account with no access to the network (since its a local machine
account unless the server is also a DC) your code will fail.

--
Anthony Jones - MVP ASP/ASP.NET
Anthony Jones [ Fr, 11 Januar 2008 17:28 ] [ ID #1905527 ]
Webserver » microsoft.public.inetserver.iis » Help needed understanding IIS user

Vorheriges Thema: IIS 6
Nächstes Thema: SMTP Virtual Server