What’s the Best Way to Store Credentials in VB.NET?

0
6
Asked By CleverCactus22 On

I'm working on an application that logs errors to a SQL Server table, and right now I'm storing the credentials directly as variables in my Form1.vb code. Since I won't need to change these credentials, I'm looking for a safer way to manage them. The SQL Server service account is set to public and only has permission to execute a specific stored procedure. Any recommendations?

2 Answers

Answered By CuriousFalcon99 On

I've heard of gMSAs, but I'm not sure what they are. Can someone explain how they work?

Answered By WiseWombat56 On

If your system is domain-joined, consider using Group Managed Service Accounts (gMSAs). They're designed for services to securely use credentials without having to store plain text passwords in your code.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.