Currently I have a SQL database on a server. The access and data query is currently done from Excel. A user table with properties is also created on the SQL database so that each user only gets this data and is allowed to get it.
That works so far everything very well. Now my problem is that the password is in plaintext in the VBA code (in the connection string), which is not so secure. What would be a safe solution now? Optimal would be a small login frontend (username/password), which establishes a connection to the database and checks the user in the usertable. Then the frontend opens the Excel file and passes user/password variables to the VBA code in the Excel file. So that no username/password is stored in the Excel file, but is compiled in the frontend login.
However, apart from VBA (good knowledge) I have no real programming knowledge. Is there a recommendation? Could such a "small" logintool with a username/password query be realized? What is the best way, to use .NET, C# ? Is a user interface in Access more secure? (The VBA password protection in Excel is unfortunately not so secure).