Integrated Security
来源:互联网 发布:java 设置md5长度 编辑:程序博客网 时间:2024/06/05 17:10
如下一段app.config文件
//该文件用来设置连接数据库字符串
<configuration>
<connectionStrings>
<add name="Pubs" connectionString="Server=localhost;User ID=dot-well;Password=dot-well.com;Integrated Security=True;Database=pubs;"
<connectionStrings>
<add name="Pubs" connectionString="Server=localhost;User ID=dot-well;Password=dot-well.com;Integrated Security=True;Database=pubs;"
providerName="System.Data.SqlClient" />
</connectionStrings>
</connectionStrings>
解析:
上述有问题
当Integrated Security=false时,将在连接中指定用户ID和密码。
当Integrated Security=true时,将使用当前的Windows帐户凭据进行身份验证。
可识别的值为 true、false、yes、no以及与true等效的sspi.
/"Integrated Security=SSPI/"与/"Trusted_Connection=yes/"相同
建议使用SSPI.
- Integrated Security
- Integrated Security
- Integrated Security&Initial Catalog怎么读
- Integrated Security =T…
- sql连接语句中的Integrated Security=SSPI/ture/false
- 连接字符串中的integrated security=true的意思是什么
- 关于sql连接语句中的Integrated Security=SSPI
- sql连接语句中的Integrated Security=SSPI/ture/false
- 连接字符串中的integrated security=true的意思是什么
- 关于sql连接语句中的Integrated Security=SSPI
- 连接字符串中的integrated security=true的意思是什么
- C#——Web.config中的Integrated Security=SSPI
- 连接字符串中的integrated security=true的意思是什么
- 关于sql连接语句中的Integrated Security=SSPI
- 连接字符串中的integrated security=true的意思是什么
- 链接字符串中Integrated Security=True时,后面的用户名和密码是不起作用的
- 关于SQL连接语句中的Integrated Security=SSPI/ture/false
- 关于SQL连接语句中的Integrated Security=SSPI/ture/false
- 如何在线打开word文档并高亮显示指定关键字
- 好的磁盘管理工具Acronis Disk Director Suite 10.0英文原版 + 注册机 + 使用图文介绍
- HTTP基本认证
- 24岁到26岁 奔三的尴尬年纪,你要知道的50件事。
- 《高级着色语言HLSL入门》系列文章
- Integrated Security
- gstreamer video 相关属性
- 查看.o, .obj文件符号列表,强大的nm命令
- 一个Asp.net下word在线编辑、全文关键字搜索的完整示例
- 深入理解Linux启动过程
- InputStream 和 byte[] 互转
- Setting color and font attribute for individual items (单独设置CTreectrl 的item 的颜色 与字体)
- Delphi 使用 RTTI 动态通过名称调用函数和设置控件属性值
- 打开页面只自动刷新一次