简体   繁体   English

如何保护SharePoint自定义列表中的数据

[英]how to secure data in sharepoint custom list

I have stored database connection string in a column of SharePoint custom list. 我已将数据库连接字符串存储在SharePoint自定义列表的列中。 Through c# code i used to fetch the value from that column and my application gets connected to specified database. 通过C#代码,我曾经从该列中获取值,而我的应用程序已连接到指定的数据库。 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. 您应该将Secure Store Service用于加密的凭据存储。 See this tutorial . 请参阅本教程

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM