隐藏在SQL Server中的数据 [英] Data Hiding in SQL Server

查看:159
本文介绍了隐藏在SQL Server中的数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有一种方法可以在sqlserver中隐藏数据?
我的意思是,我不希望其他用户查看查询分析器中的数据
和企业经理,没有正确的密码.

I want to know whether there is a way to hide data in sqlserver?
I mean, I don''t want other users to view data from query analyzer
and enterprise manager without proper password.

Any help would be appreciated

推荐答案

我建​​议正确使用数据库角色.创建一个新的数据库用户,该用户仅具有对特定数据库和特定表的访问权限.有关更多信息,请单击此处 [
I would suggest use the db roles properly. Create a new db user that has only limited access to a certain DB and certain table. For more info, click here[^].


我不希望其他用户在没有正确密码的情况下查看来自查询分析器和企业管理器的数据
如果没有正确的密码,则任何人都无法连接到数据库,然后将无法使用查询分析器或任何工具来查看数据.

您还在寻找什么?
I don''t want other users to view data from query analyzer and enterprise manager without proper password
If the proper password is not there, anyone cannot connect to the database and then won''t be able to use the query analyzer or any tool and look data.

What else are you looking for?


您还可以在插入数据库时​​对数据进行加密.例如,如果我在网站上存储用户帐户的访问凭据,就可以这样做.我始终确保对记录上的用户凭据进行加密.我有一些例程设置,可以重复使用这些例程来加密传递给数据库的值,并在它们自动返回时解密.
You could also encrypt the data on insertion into the Database. I do that for example if Im storing access credentials for a user account on a website. I always make sure I encrypt the users credentials on the record. I have a few routines setup that I reuse to encrypt values passed to the database and decrypt when they come back automatically.


这篇关于隐藏在SQL Server中的数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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