Visual Studio 2008中的数据库安全性 [英] database security in visual studio 2008

查看:88
本文介绍了Visual Studio 2008中的数据库安全性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以为microsoft.jet.oledb.4.0提供安全性?

is it possible to provide security to microsoft.jet.oledb.4.0?

推荐答案

如何:保护数据库(Visual Studio) [ ^ ]

How to: Secure a Database (Visual Studio)[^]

在本主题中,您将学习如何从Visual中保护现有SQL Server Compact数据库的安全Studio 2010 Service Pack 1 2010 SP1。

保护数据库



在Visual Studio 2010 Service Pack 1中,打开服务器资源管理器。 />


在Server Explorer中,右键单击Data Connections,然后选择Add Connection。



In在添加连接对话框中,选择要配置的SQL Server Compact 4.0数据库,然后单击确定。



在服务器资源管理器中,右键单击SQL Server您刚刚添加的Compact 4.0数据库并选择数据库属性。



在数据库属性窗口中,选择设置密码页面。



输入旧密码(如果存在),然后键入数据库的新密码。单击确定保存更改。如果指定非空密码,则默认情况下会加密数据库。

In this topic, you will learn how to help secure an existing SQL Server Compact database from Visual Studio 2010 Service Pack 1 2010 SP1.
To secure a database

In Visual Studio 2010 Service Pack 1, open Server Explorer.

In Server Explorer, right-click Data Connections, and then choose Add Connection.

In the Add Connection dialog box, choose the SQL Server Compact 4.0 database that you want to configure, and then click OK.

In Server Explorer, right-click the SQL Server Compact 4.0 database you just added and choose Database Properties.

In the Database Properties window, select the Set password page.

Enter the old password, if one exists, and then type a new password for the database. Click OK to save your changes. If you specify a non-blank password, the database is encrypted by default.



参考MSDN文章添加[/编辑]


Reference to MSDN article added[/Edit]


这篇关于Visual Studio 2008中的数据库安全性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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