سؤال

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