gpt4 book ai didi

database-connection - 存储数据库连接字符串

转载 作者:行者123 更新时间:2023-12-05 00:08:49 24 4
gpt4 key购买 nike

在安全是主要问题的 ASP.Net 应用程序中存储数据库连接字符串的首选文件是什么(以及您为什么喜欢它)?

谢谢

最佳答案

首选方式? 别!

使用受信任的连接和 Windows 主体。

connection string , 任何一个:

Trusted_Connection = Yes

或者
Integrated Security = SSPI (or True)

关于database-connection - 存储数据库连接字符串,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1250521/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com