English 中文(简体)
sql connectionstring from AD account in web.config
原标题:sql connection string from AD account in web.config

基础设施为我设立了一个积极目录,读到2008年5月5日数据库第一需要查询。 创建的网络应用I ve使NOT使用这一账户,因此我可以不使用身份名人=“真实”获取我的数据来源。

我的连接点是否有办法仅仅输入自动备份的UN/PW组合(类似于我如何使用KQ账户)与我的q服务器连接?

请咨询

感谢

最佳回答

您通常做的是,将申请集合身份确定为使用Windows(AD)服务账户,然后在网上链接中使用“委托链接=是”。

这样,你就可以避免网页上的用户名/密码。 甚至不需要了解服务账户的细节。

问题回答

没有,你可以使用用户名称和密码。

页: 1

从技术上来说,你也可以根据纯粹的硬性规定提出申请(例如,它有一个地方资源特性,另一个网络资源特征),使用<条码>runas /net only<<<<<<<<>>,但这同样与硬拷贝假冒环境一样。

申请采用一种硬性规定,然后使用不同的硬性规定,与数据库连接起来非常坏。 你们要么根据为你与数据库连接而创建的硬性规定提出申请,要么赋予申请以与数据库连接的特权。 具有两种不同的特性就没有任何意义。





相关问题
Manually implementing high performance algorithms in .NET

As a learning experience I recently tried implementing Quicksort with 3 way partitioning in C#. Apart from needing to add an extra range check on the left/right variables before the recursive call, ...

Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How do I compare two decimals to 10 decimal places?

I m using decimal type (.net), and I want to see if two numbers are equal. But I only want to be accurate to 10 decimal places. For example take these three numbers. I want them all to be equal. 0....

Exception practices when creating a SynchronizationContext?

I m creating an STA version of the SynchronizationContext for use in Windows Workflow 4.0. I m wondering what to do about exceptions when Post-ing callbacks. The SynchronizationContext can be used ...

Show running instance in single instance application

I am building an application with C#. I managed to turn this into a single instance application by checking if the same process is already running. Process[] pname = Process.GetProcessesByName("...

How to combine DataTrigger and EventTrigger?

NOTE I have asked the related question (with an accepted answer): How to combine DataTrigger and Trigger? I think I need to combine an EventTrigger and a DataTrigger to achieve what I m after: when ...

热门标签