473,425 Members | 1,660 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,425 software developers and data experts.

ASPNET account

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 should I just let it generate
automatically?

NOTE: I am not sure whether the web server and database server will be on
the same machine when we deploy. Most likely they will be on the same
machine. In that case, I guess, I can let it generate the password
automatically for ASPNET account. But do I have to set the password if the
web and database servers are on different machines?

Thanks.
-Nikhil
Nov 18 '05 #1
3 1582
Hi Nikhil:

Letting the runtime generate and manage the password is the easiest
and least error prone solution.

If SQL Server is on a seperate machine, and you want to use the ASPNET
account, then yes, one of the option available is to create an ASPNET
account on the database server and manually set the passwords so they
are identical. Another option is to run the asp.net worker process
under a domain account with access to SQL Server.

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

On Tue, 5 Oct 2004 16:16:11 -0400, "Nikhil Patel"
<do*******@nospaml.com> wrote:
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 should I just let it generate
automatically?

NOTE: I am not sure whether the web server and database server will be on
the same machine when we deploy. Most likely they will be on the same
machine. In that case, I guess, I can let it generate the password
automatically for ASPNET account. But do I have to set the password if the
web and database servers are on different machines?

Thanks.
-Nikhil


Nov 18 '05 #2
Hi Scott,
Thanks for your reply.One more question - Do you think impersonating
domain account would be a better solution than running asp.net worker
process under a domain account?

Thanks.

"Scott Allen" <bitmask@[nospam].fred.net> wrote in message
news:b5********************************@4ax.com...
Hi Nikhil:

Letting the runtime generate and manage the password is the easiest
and least error prone solution.

If SQL Server is on a seperate machine, and you want to use the ASPNET
account, then yes, one of the option available is to create an ASPNET
account on the database server and manually set the passwords so they
are identical. Another option is to run the asp.net worker process
under a domain account with access to SQL Server.

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

On Tue, 5 Oct 2004 16:16:11 -0400, "Nikhil Patel"
<do*******@nospaml.com> wrote:
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 should I just let it generate
automatically?

NOTE: I am not sure whether the web server and database server will be on
the same machine when we deploy. Most likely they will be on the same
machine. In that case, I guess, I can let it generate the password
automatically for ASPNET account. But do I have to set the password if the
web and database servers are on different machines?

Thanks.
-Nikhil

Nov 18 '05 #3
Hi Nikhil:

Either one would work (as long as you are talking about impersonation
using a username and password in web.config, not just setting
impersonate="true" in web.config).

In my experience, using local machine accounts can be a little more
robust. Network admins have a tendancy to do things to break domain
accounts - like expiring passwords and such. I've always tried to
stick to local accounts - but then I've had a lot of clients with
screwed up domains.

--
Scott
http://www.OdeToCode.com/
On Tue, 5 Oct 2004 17:09:21 -0400, "Nikhil Patel"
<do*******@nospaml.com> wrote:
Hi Scott,
Thanks for your reply.One more question - Do you think impersonating
domain account would be a better solution than running asp.net worker
process under a domain account?

Thanks.

"Scott Allen" <bitmask@[nospam].fred.net> wrote in message
news:b5********************************@4ax.com.. .
Hi Nikhil:

Letting the runtime generate and manage the password is the easiest
and least error prone solution.

If SQL Server is on a seperate machine, and you want to use the ASPNET
account, then yes, one of the option available is to create an ASPNET
account on the database server and manually set the passwords so they
are identical. Another option is to run the asp.net worker process
under a domain account with access to SQL Server.

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

On Tue, 5 Oct 2004 16:16:11 -0400, "Nikhil Patel"
<do*******@nospaml.com> wrote:
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 should I just let it generate
automatically?

NOTE: I am not sure whether the web server and database server will be on
the same machine when we deploy. Most likely they will be on the same
machine. In that case, I guess, I can let it generate the password
automatically for ASPNET account. But do I have to set the password if the
web and database servers are on different machines?

Thanks.
-Nikhil


Nov 18 '05 #4

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

Similar topics

2
by: jano | last post by:
Hi, I am trying to install a web application on an AD domain controller (security risk I know but it is our client's requirement) and i need to give the aspnet account certain permissions....
2
by: Andrew J Fortune | last post by:
Hello all, I am trying to ascertain the difference, in terms of access and privileges, between the Internet Guest User Account (IUSR_machinename, where machinename is the name of your computer)...
22
by: Zeng | last post by:
Hi, I'm running ClrProfiler for the first time to profile my web app, and it keeps getting stuck at this msg box: "Waiting for Asp.net to start common language runtime - this is the time to load...
4
by: Justin | last post by:
Hi All, Can the ASPNET user be deleted on an end user's machine that will run .NET applications? I heard someone say it was only needed on the developers machine. Sounded odd to me but I...
0
by: CESAR DE LA TORRE [MVP] | last post by:
I am using WSE 3.0 with Visual Studio 2005, specifically I'm using Kerberos authentication and passing Kerberos ticket from Presentation Tier (VSTO.2005 client) to Server Tier through our Web...
3
by: musosdev | last post by:
Hi guys I've just noticed I don't have an ASPNET user account running on either my Workstation or Server (both running .net2.0, workstation has vs2005 pro). Simple question... should it be...
5
by: Paul Aspinall | last post by:
Hi I am trying to print, server side, from my web application. I'm getting problems, as my ASPNET account is a local account, and is not trusted on the domain to print to printers (ie. does not...
7
by: torus | last post by:
Is the aspnet account called "aspnet" for all non-English versions of Windows and IIS?
5
by: =?Utf-8?B?TWljaGFlbCBNaWxsZXI=?= | last post by:
I created a walkthrough and couldn't connect to my sql server. I looked up the problem and MSDN told me to create an ASPNET "User" in SQL Svr. It worked, but is that right? Do I have to do that...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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,...
0
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: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.