关于asp.net中的连接字符串 [英] About connection string in asp.net

查看:65
本文介绍了关于asp.net中的连接字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨每一个......



i我很困惑如何使用集成安全性以及设置它的价值....


真实或假







和一件事就是......



如果我的数据库在其他系统并且它没有用户名密码,而不是集成安全的值为true或者false







请建议......

解决方案

false 时,在连接中指定了用户ID和密码。当 true 时,当前的Windows帐户凭据用于身份验证。



因此,如果远程系统没有登录详细信息,您可能需要 true



请参阅MSDN:SqlConnection.ConnectionString Property [ ^ ]

请检查以下两个链接:

集成安全性= SSPI在连接字符串中的含义 [ ^ ]



什么是连接字符串中的集成安全性?
[ ^ ]



祝你好运,

OI


如果你假设你添加了true那么它默认采用windows认证,如果你保持为false那么它应该是为此目的进行sqlserver身份验证,您需要提供正确的用户ID和密码


hi every one ...

i am confused bout how to use Integrated security and what is it''s value to set ....

"True" or "False"

and

and one thing is that ...

if my database is at other system and it has no username password than what should the value of integrated security true or false



pls suggest ...

解决方案

When false, the User ID and Password are specified in the connection. When true, the current Windows account credentials are used for authentication.

So if the remote system has no login details, you probably want true.

See MSDN: SqlConnection.ConnectionString Property[^]


Please check the following two links:
What does Integrated Security =SSPI means in the Connection string[^]

What is "Integrated Security" in connection string ?
[^]

Good luck,
OI


if suppose you add true then it take by default windows authentication and if you maintain as false then it should be sqlserver authentication for that purpose you have to need provide proper user-id and password


这篇关于关于asp.net中的连接字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆