473,473 Members | 4,185 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How is the ASPNET password managed?

I notice that ASP.NET has a user that runs on its behalf (ASPNET user). I
an concerned about site security and would like it if someone can explain
the security of the ASPNET user. In particular, is the password managed
automatically in the same way as the IIS password for the anonymous user
account? If this is true, how is the password managed? Is it re-generated
every-so-often or only once at installation?

Also, I have read various articles on different ASP.NET windows forms
authentication methods. Some code examples use the Win32 LogonUser()
function for WindowsIdentity account validation. Some of these code samples
indicate that the ASPNET user must be granted "Act as Part of the Operating
System" right to do this. How much risk is there to doing this?

Basically, how secure is the ASPNET user account password?

--
-----------------------------------
Ken Varn
Senior Software Engineer
Diebold Inc.

EmailID = varnk
Domain = Diebold.com
-----------------------------------
Nov 18 '05 #1
3 21416
It is system created and uses a one-way algorythm. You can set the password
yourself, if you wish (machine.config file). There is also an
IUSR_ComputerName account for IIS, which you can control, if you so desire.
In most instances, it is better to let the machine control both. If the
pwd(s) are compromised, the machine is already owned by someone else.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************
Think Outside the Box!
************************************************
"Ken Varn" <nospam> wrote in message
news:e2**************@TK2MSFTNGP12.phx.gbl...
I notice that ASP.NET has a user that runs on its behalf (ASPNET user). I
an concerned about site security and would like it if someone can explain
the security of the ASPNET user. In particular, is the password managed
automatically in the same way as the IIS password for the anonymous user
account? If this is true, how is the password managed? Is it re-generated every-so-often or only once at installation?

Also, I have read various articles on different ASP.NET windows forms
authentication methods. Some code examples use the Win32 LogonUser()
function for WindowsIdentity account validation. Some of these code samples indicate that the ASPNET user must be granted "Act as Part of the Operating System" right to do this. How much risk is there to doing this?

Basically, how secure is the ASPNET user account password?

--
-----------------------------------
Ken Varn
Senior Software Engineer
Diebold Inc.

EmailID = varnk
Domain = Diebold.com
-----------------------------------

Nov 18 '05 #2
HI Ken:

Iinline comments...

On Mon, 30 Aug 2004 10:08:18 -0400, "Ken Varn" <nospam> wrote:
I notice that ASP.NET has a user that runs on its behalf (ASPNET user). I
an concerned about site security and would like it if someone can explain
the security of the ASPNET user. In particular, is the password managed
automatically in the same way as the IIS password for the anonymous user
account? If this is true, how is the password managed? Is it re-generated
every-so-often or only once at installation?

Local service account passwords (like for ASPNET) are managed by the
the Local Security Authority (LSA) and kept in the registry under
HKEY_LOCAL_MACHINE\SECURITY\Policy\Secrets. If you try to view the
HKEY_LOCAL_MACHINE\SECURITY hive with regedt32, it will appear greyed
out even if you are an admin on the machine, as only the SYSTEM
account has permissions here.
Also, I have read various articles on different ASP.NET windows forms
authentication methods. Some code examples use the Win32 LogonUser()
function for WindowsIdentity account validation. Some of these code samples
indicate that the ASPNET user must be granted "Act as Part of the Operating
System" right to do this. How much risk is there to doing this?

Act as part of operating system is a relatively high level of
priviledge usually reserved for the all powerful system account. It
allows a process to impersonate any account without authentication. MS
is trying to avoid running services as system where possible.
The good news is, you do not need to grant this priviledge on XP or
2003 machines. Hopefully this will work for you.
Basically, how secure is the ASPNET user account password?


Basically, it's only as secure as the other system account passwords
and other machine "secrets" :).

HTH,

--
Scott
http://www.OdeToCode.com
Nov 18 '05 #3
User account passwords are kept as a hash, but I don't believe local
service account credentials are stored with a one way algorithm. A
service needs to remember it's password to authenticate against an
authority just like a user does. In NT 4 this was a vulnerability for
a time as the passwords were stored in plaintext (encoded, essentially
plaintext), and it was easy to find tools to dump the service account
passwords even though the registry keys were restricted to the system
account. Since NT4 the SAM et al is encrypted.

--
Scott
http://www.OdeToCode.com

On Mon, 30 Aug 2004 10:29:53 -0500, "Cowboy \(Gregory A. Beamer\)
[MVP]" <No************@comcast.netNoSpamM> wrote:
It is system created and uses a one-way algorythm. You can set the password
yourself, if you wish (machine.config file). There is also an
IUSR_ComputerName account for IIS, which you can control, if you so desire.
In most instances, it is better to let the machine control both. If the
pwd(s) are compromised, the machine is already owned by someone else.


Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Varro | last post by:
We have been having a recurring problem with our .NET applications on one of our application servers (it is not setup to be a domain controller). For some reason the local ASPNET account is...
5
by: Crayon Coco | last post by:
Hi, I just want to check is it OK to set the password for ASPNET of my web server, will it impact my program
3
by: Nikhil Patel | last post by:
Hi all, I have written a web application that connects to Sql Server. I am using Windows Authentication with ASPNET local account. Do you think I should explicitly set the password for ASPNET or...
3
by: Kim | last post by:
After installing MSDE2000 on my WIN XP machine, I created the database from Access using the upsizing wizard. Although the tables can be seen from the server explorer, I keep on encountering...
6
by: Jozef | last post by:
Hello, I've set up VS2003 on my laptop which is running Win XP pro in a stand alone situation, no domain or dc. When I try and "Create a blank solution", I use the Laptop IP address since...
3
by: ebbflow | last post by:
I've seen explainations on how to impersonate a non aspnet user when a web page is called within an web application, but I have a different impersonation issue. I have a windows desktop...
1
by: =?Utf-8?B?c3RhZ2VybGVp?= | last post by:
We would like to change the password for the ASPNET user account on our Windows 2k3 servers running IIS 6.0 and .NET v1.1. Should I expect to have any authentication issues once the change has...
2
by: =?Utf-8?B?c3RhZ2VybGVp?= | last post by:
We would like to change the password for the ASPNET account on our W2k3 servers running IIS 6.0 and .NET 1.1. Will we run into problems? Is there a way to determine the current password, in case...
5
by: Rory Becker | last post by:
Hi All I have a database which has it's own set of tables for users etc I already successfully use the Login control by handling the Authenticate event and checking the suitable values against...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.