This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to securely store the connection string passwords in scripted rule?

Hi,

I have scripted rule written in C#, which has the database connection string with password in plain text. could you please let me know how I can securely store the connection string password in scripted rule?

Request your support.

  

  • 0  

    Hi, there is no built-in support for this. For the built-in passwords and other sensitive information in SV configuration files, we use a special password from the Windows Credential Manager

     

    But you would have to write the code that would encrypt the value using this password. It will be complicated. Do you really need to store the password in plain text? Maybe try to use Win auth for your database if possible. Or just check the DB documentation on how you are supposed to handle it for the corresponding type of database. 

    Regards

    Karel