如何锁定MDB文件 [英] How to lock mdb file

查看:177
本文介绍了如何锁定MDB文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Microsoft Access数据库创建了一个简单的c#应用程序,但是该数据库可以使用MS Access打开任何人.我怎么能停止打开我的mdb文件.请帮帮我!!!!!

I create an simple c# application using Microsoft access database.But the database can open anyone using MS access. how can i stop opening my mdb file. please help me!!!!!

推荐答案

为此设置密码:
http://office.microsoft.com/zh-cn/access-help/create-change-or-remove-passwords-mdb-HP005188275.aspx [
Set a password for it :
http://office.microsoft.com/en-us/access-help/create-change-or-remove-passwords-mdb-HP005188275.aspx[^]


请参阅以下链接使您的访问数据库密码受保护:

http://databases.about.com/od/tutorials/ss/passwordprotect.htm [ ^ ]
http://office.microsoft.com/zh-cn/access-help/create-change-or-remove-passwords-mdb-HP005188275.aspx [ http://voices.yahoo.com/microsoft-access-tutorial-password-protect- 2350424.html [^ ]
http://www.databasedev.co.uk/database_password.html [
See the Following Links to Make Your Access DataBase Password Protected :

http://databases.about.com/od/tutorials/ss/passwordprotect.htm[^]
http://office.microsoft.com/en-us/access-help/create-change-or-remove-passwords-mdb-HP005188275.aspx[^]
http://voices.yahoo.com/microsoft-access-tutorial-password-protect-2350424.html[^]
http://www.databasedev.co.uk/database_password.html[^]

Please Note that if your Database is Password Protected then you have to Pass these credentials in Connection String While Connecting to DataBase from application.
I hope it will help you. :)


我不知道您为什么要问这个而不是在google中搜索. 保护Access 2010数据库的密码 [ ^ ]可能会解决您的问题.

可能是 [设置数据库密码和未设置的数据库密码 [ ^ ].


--Amit
I don''t know why you are asking this instead of searching in google. Password Protecting an Access 2010 Database[^] may solve your problem.

May be this[^] can add a plugin in my answer.

You should also know How to Set Database Password and Unset Database Password[^] in MS Access.


--Amit


这篇关于如何锁定MDB文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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