Вопрос

I have stored database connection string in a column of SharePoint custom list. Through c# code i used to fetch the value from that column and my application gets connected to specified database. But that connection string is visible to everyone having access to the list. How we can encrypt that value so that it cannot be visible to everyone but my application can be connected to the database with minimum or no change in code?

Это было полезно?

Решение

You should use Secure Store Service for encrypted credential storage. See this tutorial.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top