主页 > 知识库 > 加密你的Access数据库asp打开方法

加密你的Access数据库asp打开方法

热门标签:杭州400电话如何申请的 天音通信电话机器人 江西南昌百应电话机器人 hbuilder地图标注 机器人电话机创意绘画 400电话申请怎么看 随州营销电话机器人怎么样 400电话从哪里申请滨州 高德地图标注商家在哪
Secure Your Access Database

    How can you keep unwanted people from downloading your database simply by typing in the url? 

You can't, it is not possible. BUT you can secure it by adding a password to it. Below I will 

walk you through the steps needed to accomplish this.

1. Download your database (new feature added today, see above).

2. Open it up in MS Access. (Check the "Exclusive" checkbox in the file dialog box. If you don't, 

Access will ask you to later.)

3. Menu Bar --> Tools --> Security --> Set Database Password Select "Tools" from the menu bar, 

then "Security", then "Set Database Password."

4. Your password can be: (quoted from MS Access Help) "Passwords can be any combination of 14 or 

fewer characters, except control characters. Passwords are case-sensitive."

5. Upload your password protected database to Brinkster.

6. What needs to be changed in your code:
Only your connection string needs to be changed. Here is a sample:

Set Conn = Server.CreateObject("ADODB.Connection")
MyConnStr = "DRIVER={Microsoft Access Driver (*.mdb)}; "
MyConnStr = MyConnStr  "DBQ=d:sitesmembernamedbmydbase.mdb; "
MyConnStr = MyConnStr  "PWD=yourpassword"
Conn.Open(MyConnStr)

Add the "PWD=yourpassword" to the connection string and you are set!

7. In the SQL Mgr, a new field has been added for password. This way you can still use the SQL 

Mgr, even if your Access database has been password protected!

By: Jared Stauffer 
您可能感兴趣的文章:
  • asp.net2.0如何加密数据库联接字符串
  • 由拖库攻击谈口令字段的加密策略(数据库加密)
  • 使用 Salt + Hash 将密码加密后再存储进数据库
  • 在asp.net中使用加密数据库联接字符串保证数据安全
  • ASP.NET web.config中 数据库连接字符串加密解密

标签:常德 昆明 沈阳 石嘴山 鹤岗 保定 招商 葫芦岛

巨人网络通讯声明:本文标题《加密你的Access数据库asp打开方法》,本文关键词  加密,你的,Access,数据库,;如发现本文内容存在版权问题,烦请提供相关信息告之我们,我们将及时沟通与处理。本站内容系统采集于网络,涉及言论、版权与本站无关。
  • 相关文章
  • 下面列出与本文章《加密你的Access数据库asp打开方法》相关的同类信息!
  • 本页收集关于加密你的Access数据库asp打开方法的相关信息资讯供网民参考!
  • 企业400电话

    智能AI客服机器人
    15000

    在线订购

    合计11份范本:公司章程+合伙协议+出资协议+合作协议+股权转让协议+增资扩股协议+股权激励+股东会决议+董事会决议

    推荐文章