Help needed understanding IIS user
am 11.01.2008 17:04:25 von es330td
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\
user> or does it see \\webserver1\iusr_webserver1 to check if the
create operation is allowed?
Re: Help needed understanding IIS user
am 11.01.2008 17:28:40 von Anthony Jones
"es330td" wrote in message
news:15072df8-6936-4916-b142-7e7c1ecc126a@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\
> 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