VB.net和SQL Server 2005为独立应用程序设置数据库密码 [英] VB.net and SQL Server 2005 Setting up Database password for standalone app

查看:112
本文介绍了VB.net和SQL Server 2005为独立应用程序设置数据库密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧,我目前正在开发一个应用程序,不同的用户可以使用他们的电子邮件登录。应用程序将邮件详细信息(发件人,消息,接收者,附件等)保存到数据库。

Well, I am currently developing an application where different users can login using their email. The application will save the mail details (sender, message, receiver, attachment, etc) to the database.

我的问题是,我不希望用户在使用sql server management studio 时访问数据库将打开他们的sql和编辑消息那里,所以我需要一些安全的应用程序。)。

My problem is, I don't want the user to have access to the database when using sql server management studio (maybe some techie users would open their sql and edit the the message there, so yea.. I needed some security for the app.).

我的解决方案是我必须设置用户名/密码到DATABASE 。这是可能吗?或者你可以建议我一些方法,用户不能访问sql管理工作室?

My solution is i have to set a username/password to the DATABASE only. Is this even possible? OR maybe you can suggest me some ways where the user can't access the sql management studio?

- 应用程序将部署在不同的计算机上,不同的服务器在不同的地方。像一个独立的应用程式。

hehe。对不起,如果我的问题没有任何意义,这是我对一家公司的第一个项目,所以我真的没有这么多的知识关于这些事情:)

hehe. Sorry if my question isn't making any sense, this is my first project on a company so I don't really have that much knowledge yet regarding these things :)

推荐答案

您的应用程序可以使用的任何登录凭据,用户可以使用反编译器解压缩。

Any login credentials that your app can use, the user can extract using a decompiler.

您应该创建一个单独的数据库用户该应用程序不具有对您不希望用户更改的内容的写访问权限。

You should create a separate DB user for the app that doesn't have write access to things you don't want users to change.

这篇关于VB.net和SQL Server 2005为独立应用程序设置数据库密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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