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

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

作者:匿名 字体:[增加 减小] 来源:互联网 时间:2018-12-05

匿名通过本文主要向大家介绍了加密你的Access数据库asp打开方等相关知识,希望本文的分享对您有所帮助

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

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
分享到:QQ空间新浪微博腾讯微博微信百度贴吧QQ好友复制网址打印

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

相关文章

  • 2017-05-11mysql表的清空、删除和修改操作详解
  • 2018-12-05MySQL高级十——事务的应用
  • 2018-12-05sql复制表结构和数据的实现方法
  • 2018-12-05浅谈mysql可有类似oracle的nvl的函数的详情
  • 2018-12-05Mysql系列(十)Mysql条件判断
  • 2018-12-05学习MySQL 5.7的Sys库使用(上)
  • 2017-05-11Mysql 自动增加设定基值的语句
  • 2018-12-05sqlserver关于分页存储过程的优化【让数据库按我们的意思执行查
  • 2018-12-05Mysql优化之select count效率
  • 2018-12-05Mysql limit 优化,百万至千万级快速分页 复合索引的引用并应用

文章分类

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

最近更新的内容

    • 在CentOS上MySQL数据库服务器配置方法
    • MySQL之-CentOS下my.cnf 配置日志类型及文件配置的示例代码
    • MySql5.7.18字符集配置图文实例分享
    • mysql数据库sql优化原则(经验总结)
    • SQLServer APPLY表运算符使用介绍
    • phpMyAdmin下将Excel中的数据导入MySql的图文方法
    • MySQL修改默认字符集编码的方法_MySQL
    • mysql三种批量增加的性能分析
    • centos6 安装mysql客户端
    • 找到活动的SQL连接,并杀掉它!

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

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