信任与数据库的连接 [英] trust connection to database

查看:67
本文介绍了信任与数据库的连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从我的数据库连接到我的应用程序?

how can make connection from my database to only my applicton ??

推荐答案

在SQL Server上设置用户名和密码组合,并且只提供任何读取和写访问该用户。

http://technet.microsoft.com/ en-us / library / aa337545.aspx [ ^ ]



您无法将SQL服务器设置为拒绝应用程序(因为它可以在不知道应用程序的单独PC上运行生成请求),但您设置它只允许UserX访问特定数据库。
Set up a username and password combination on SQL Server, and only give any read and write access to that user.
http://technet.microsoft.com/en-us/library/aa337545.aspx[^]

You can't set SQL server to reject applications (since it can be running on a separate PC that doesn't know what application generated the request), but you set set it to only allow "UserX" access to a specific database.


这篇关于信任与数据库的连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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