Ok, found the impersonation and set it to false (no idea how that was ever
true).

I am on Windows 2003, not W2K so NETWORK SERVICE is correct then - yes? And
for WinXP?

For W2K the user is ASPNET - is that user used for anything in Windows 2003
or is it just around because some apps assume it exists from W2K?

We need to set permissions for our logging directory for the ASP.NET app so
is it ok if we grant permissions to NETWORK SERVICE for Windows 2003 & XP,
and to ASPNET for W2K? SHould that cover any standard configuration?

-----
Dominick Baier (http://www.leastprivilege.com)
> Sorry - and what about Vista - what user is default there?
>
> Cubicle Wars - http://www.windwardreports.com/film.htm
>
> "David Thielen" wrote:
>
>> Ok, found the impersonation and set it to false (no idea how that was
>> ever true).
>>
>> I am on Windows 2003, not W2K so NETWORK SERVICE is correct then -
>> yes? And for WinXP?
>>
>> For W2K the user is ASPNET - is that user used for anything in
>> Windows 2003 or is it just around because some apps assume it exists
>> from W2K?
>>
>> We need to set permissions for our logging directory for the ASP.NET
>> app so is it ok if we grant permissions to NETWORK SERVICE for
>> Windows 2003 & XP, and to ASPNET for W2K? SHould that cover any
>> standard configuration?
>>
>> --
>> thanks - dave
>> david_at_windward_dot_net
>> http://www.windwardreports.com
>> Cubicle Wars - http://www.windwardreports.com/film.htm
>>
>> "Dominick Baier" wrote:
>>
>>> you have client impersonation enabled - this will give you the
>>> behavior you see.
>>>
>>> W2K has no NETWORK SERVICE account - this was introduced in XP.
>>>
>>> On W2k ASP.NET apps run by default as ASPNET.
>>>
>>> -----
>>> Dominick Baier (http://www.leastprivilege.com)
>>>> Weirder and weirder - now it shows it running as me. Maybe we have
>>>> something wrong in our installer but it looks like we just create
>>>> the web application and never set who it runs as.
>>>>
>>>> we are calling aspnet_regiis -ga "NETWORK SERVICE" and
>>>> aspnet_regiis -pef connection_string our_app_root_directory.
>>>>
>>>> Any ideas?
>>>>
>>>> Cubicle Wars - http://www.windwardreports.com/film.htm
>>>>
>>>> "David Thielen" wrote:
>>>>
>>>>> Hi;
>>>>>
>>>>> My ASP.NET app (on Windows 2003) is running under IUSR_SERVERNAME.
>>>>> Is this the correct user for strictest security? I thought best
>>>>> was "NETWORK SERVICE" or something like that.
>>>>>
>>>>> And do I need to set this when installing the app? I don't think I
>>>>> am specifying the user to run under anywhere.
>>>>>
>>>>> --
>>>>> thanks - dave
>>>>> david_at_windward_dot_net
>>>>> http://www.windwardreports.com
>>>>> Cubicle Wars - http://www.windwardreports.com/film.htm

Share This Page

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Sign up now!