• linkedu视频
  • 平面设计
  • 电脑入门
  • 操作系统
  • 办公应用
  • 电脑硬件
  • 动画设计
  • 3D设计
  • 网页设计
  • CAD设计
  • 影音处理
  • 数据库
  • 程序设计
  • 认证考试
  • 信息管理
  • 信息安全
菜单
linkedu.com
  • 网页制作
  • 数据库
  • 程序设计
  • 操作系统
  • CMS教程
  • 游戏攻略
  • 脚本语言
  • 平面设计
  • 软件教程
  • 网络安全
  • 电脑知识
  • 服务器
  • 视频教程
  • MsSql
  • Mysql
  • oracle
  • MariaDB
  • DB2
  • SQLite
  • PostgreSQL
  • MongoDB
  • Redis
  • Access
  • 数据库其它
  • sybase
  • HBase
您的位置:首页 > 数据库 >Access > 加密你的Access数据库asp打开方法

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

作者: 字体:[增加 减小] 来源:互联网 时间:2017-05-11

通过本文主要向大家介绍了asp连接access数据库,asp access数据库,asp链接access数据库,asp操作access数据库,asp访问access数据库等相关知识,希望本文的分享对您有所帮助
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 
</div>
分享到:QQ空间新浪微博腾讯微博微信百度贴吧QQ好友复制网址打印

您可能想查找下面的文章:

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

相关文章

  • 2017-05-11Access中批量替换数据库内容的两种方法
  • 2017-05-11ACCESS数据库文件的压缩和修复方法[图文]
  • 2017-05-11长期使用中型Access数据库的一点经验与缺点
  • 2017-05-11使用准则进行条件查询--1.4.从窗体中选择查询的条件
  • 2017-05-11Access数据库日常维护方法(优化)
  • 2017-05-11解决Access出现Microsoft JET Database Engine (0x80004005)未指定的错误
  • 2017-05-11自己动手把ACCESS转换到SQLSERVER的方法
  • 2017-05-11Access使用宏控制程序--1.6.使用宏的几点说明
  • 2017-05-11Access使用宏控制程序
  • 2017-05-11Access使用宏控制程序--1.5.一个宏的实例——检验口令

文章分类

  • MsSql
  • Mysql
  • oracle
  • MariaDB
  • DB2
  • SQLite
  • PostgreSQL
  • MongoDB
  • Redis
  • Access
  • 数据库其它
  • sybase
  • HBase

最近更新的内容

    • Access保留字&变量名列表
    • 获取Gridview中ButtonField的text属性
    • ACCESS中关于SQL语句的转义字符
    • 获取ACCESS2000数据库中所有表的名称
    • Access使用查询 在查询中执行计算的注意事项
    • Access数据库不能写不能更新的解决方法
    • access中显示MSysObjects系统表的设置方法
    • access数据库用sql语句添加字段,修改字段,删除字段
    • Access数据库出现“无法保存;正被别的用户锁定”的原因
    • C# 连接Access数据时总报找不到dbo.mdb的问题

关于我们 - 联系我们 - 免责声明 - 网站地图

©2020-2025 All Rights Reserved. linkedu.com 版权所有