Question

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?

Était-ce utile?

La solution

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top