IUSR_COMPUTERNAME vs ASPNET

A

Anatolij

Hello people.Sorry for stupid question.But who can exlplain to me difference
between IUSR_COMPUTERNAME and ASPNET account.
 
A

Andrea D'Onofrio [MSFT]

The first one is an IIS account used for the anonymous authentication, the
second one is an ASP.NET account used for the asp.net worker process.

HtH,
Andrea
 
S

Svein Terje Gaup

ASP.NET takes advantage of two layers of security: 1) IIS Security, 2)
ASP.NET Security

You may read about the security model here:
http://aspnet.4guysfromrolla.com/articles/031204-1.aspx

What happens is that first, IIS has to authenticate the user. IIS may be set
to one of several different authentication modes, of which one is
"Anonymous". In old ASP, if you selected this option only, the user would
not be authenticated. All the actions of the user would be done using the
"IUSR_MACHINENAME" account.

In ASP.NET you may still be using the same account if you 1) set
authentication in IIS to use Anonymous, and 2) set the
<impersonation="true"> in web.config.

The default, however is <impersonation="false"> which means the "ASPNET"
user account will be used.

If you want to use integrated windows authentication (acces to the website
is done under the users domain or local windows account), then you should
select "Windows Authentication" in IIS and <authentication mode="windows">
(default setting) in web.config. And you should set <impersonation="true">.

Sincerely
Svein Terje Gaup
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top