Avatar of Spikeuk30
Spikeuk30
 asked on

.NET application SQL connection account password best practices

We have a number of .Net applications running which contain a SQL connection string within their web.config. to another server running SQL 2008 std.

The connection string specifys SQL credentials to a specific database - the password and username is directly in the connection string.

Note: Our production servers are not part of any domain and are stand alone.

Were looking more into security - is there any way we can easily change the password to these accounts on a regular basis while not having to update the web.config files directly.    ..or is my only option via a Windows account ?


Ideally we dont want the passwords directly in the web.config - it would be nice to change the passwords once a month automatically and not cause any errors for the connecting .Net applications, and not having to update any web.configs manually.

Currently these SQL accounts are excluded from any password expiry policy and we need to change that so they are changed on a regular basis.

Any help would be greatly appreciated.
Microsoft SQL Server 2008SecurityWeb Applications

Avatar of undefined
Last Comment
ste5an

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
ste5an

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes