© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
3 replies
Espionage

❔ Moving from Development to Production

I want to be more secure in my .NET server application, atm my db connection string is just stored in the appsettings.json.
What would you do to actually protect it in some way, I was thinking maybe set it as an environment variable, but I dont really understand how that would help?

What strategies would you employ and why?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ Moving from HttpWebRequest to HttpClient
C#CC# / help
4y ago
❔ Moving from consoleapp to wpf?
C#CC# / help
4y ago
Error Moving Projects from Desktop to Laptop
C#CC# / help
9mo ago
Moving integer from one form to another
C#CC# / help
2y ago