ASP.NET SQL Server与域安全性的连接 [英] ASP.NET SQL Server Connection with domain security

查看:63
本文介绍了ASP.NET SQL Server与域安全性的连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Guys,

任何人都知道使用域安全性启动到SQL SQL Server的SQL连接的最佳方法吗? (域安全在这里非常重要并且是最大的问题)。

换句话说 - 我需要服务器以某种方式将您识别为用户(不要求密码和东西)并基于此 - 拒绝或授予您使用资源(隐藏/显示数据网格)。

我已配置服务器并为此目的创建了AD组。



从WPF接口我在连接字符串中使用Trusted_Connection = True,但在ASP.NET中同样的事情为什么不安静工作。换句话说 - 它非常适用于非网络应用程序。



这里或那里的小指导或指针会非常受欢迎。



谢谢!

Hello Guys,
Anyone know the best way to initiate SQL Connection to MS SQL Server with a domain security? (Domain security is very important here and makes the most problem).
In other words - I need the server somehow to identify you as a user (without asking for passwords and stuff) and based on that - deny or grant you to use the resources (hide/show datagrid).
I have server configured and AD group created for that purpose.

From WPF interface I am using "Trusted_Connection=True" in a connection string, but the same thing in ASP.NET somewhy does not quiet work. So in other words - it works perfectly on non-web application.

Small guidance or a pointer here or there would be really appreciated.

Thanks!

推荐答案

我猜您正在寻找如何:使用映射的Windows域用户访问SQL Server [ ^ ]。
I guess you are looking for How to: Access SQL Server Using a Mapped Windows Domain User[^].


这篇关于ASP.NET SQL Server与域安全性的连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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