What is the best way to save username and password for windows service?
The service must have access to the MS SQL Server database on the remote computer. We must support MS SQL Server authentication (mixed mode) instead of NT Authentication.
The DP API is the standard way to store sensitive data locally on Windows. You did not specify the programming language that you are using, but in .NET it is shown in the System.Security.ProtectedData class .
Assuming .Net, you can encrypt your configuration file. See this .
, , , , , . CryptProtectData. . , LsaStorePrivateData .
Windows, , , SQL Server, , ..
: , - , .
.
?
, , .
, , , NT Authentication . , , , , .
:)
, , , , : System.Security.Cryptography.ProtectedData
: Windows
- . - , . , .
, - (wikipedia for rainbow table). , , . - , .
, :
Source: https://habr.com/ru/post/1699141/More articles:Reading hibernation properties from Web.config - c #The best way to create a trunk And a branch on the same CruiseControl.Net server - build-processWhere can I find resources in the VectorScript programming language? - resourcesTime / Time Sensor for ASP.Net - validationCOALESCE SUM GROUP? - sqlКакое самое лучшее бесплатное программное обеспечение FTP? - ftpChanging textarea wrap with javascript - javascriptHow to get a .NET assembly running Delphi from a network drive? - .netProperties in a partial class are not displayed in the Data Sources window! - .netAccessing Ruby objects using Python via XML-RPC? - pythonAll Articles