当前在线人数17761
首页 - 分类讨论区 - 电脑网络 - 窗口里的风景版 -阅读文章
未名交友
[更多]
[更多]
文章阅读:Re: ASPNET 访问SQL Server 2005 被拒
[同主题阅读] [版面: 窗口里的风景] [作者:LifeAsWater] , 2007年06月28日11:43:36
LifeAsWater
进入未名形象秀
我的博客
[上篇] [下篇] [同主题上篇] [同主题下篇]

发信人: LifeAsWater (烟水寒), 信区: DotNet
标  题: Re: ASPNET 访问SQL Server 2005 被拒
发信站: BBS 未名空间站 (Thu Jun 28 11:43:36 2007)

There are a lot of ways to connect ASP.net to SQL server. It is depend on
your use case to pick up the suitable approach.

Impersonate: This approach has problem if the client is not in the same
Window domain. But it has the advantage that different client has different
permission to access SQL server.

Built SQL Server user name/pwd into connection string: This approach is not
safe in view of security. All clients have the same permission to access SQL
server.

Change the identity of ASP.net worker process: It is safe to connect to SQL
server using SSPI. All clients have the same permission to access SQL server
.
--

※ 来源:·WWW 未名空间站 海外: mitbbs.com 中国: mitbbs.cn·[FROM: 65.223.]

[上篇] [下篇] [同主题上篇] [同主题下篇]
[转寄] [转贴] [回信给作者] [修改文章] [删除文章] [同主题阅读] [从此处展开] [返回版面] [快速返回] [收藏] [举报]
 
回复文章
标题:
内 容:

未名交友
将您的链接放在这儿

友情链接


 

Site Map - Contact Us - Terms and Conditions - Privacy Policy

版权所有,未名空间(mitbbs.com),since 1996