sql服务器认证 [英] sql server authentication
本文介绍了sql服务器认证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在构建一个控制数据库的Windows应用程序.
该应用程序具有登录表单,并且我已将登录名添加到服务器,还将用户添加到数据库.
我想使用相同的用户来访问我的应用程序中的登录表单.
谢谢.
I''m building a windows application that control a database.
The application has a login form and I''ve added logins to the server and also users to the database.
I want to use the same users to access the login form in my application.
Thank you.
推荐答案
您不应让用户通过Web界面输入您的sql服务器身份验证.而是使用身份验证创建连接字符串,并使用它来维护用户数据库.
从数据库内部维护用户始终是一种更好的方法.
You should not be let the users enter your sql server authentication through Web interface. Rather you create a connectionstring using the authentication and use it to maintain a database of users into it.
It is always a better approach to have user maintained from within the database.
这篇关于sql服务器认证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文