国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 開發設計 > 正文

加密你的Access數據庫

2019-11-18 21:01:59
字體:
來源:轉載
供稿:網友
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:/sites/membername/db/mydbase.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



發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 和平县| 景泰县| 阿拉善右旗| 应用必备| 金堂县| 米林县| 安顺市| 武定县| 正阳县| 乌兰察布市| 陇川县| 达州市| 甘德县| 锦屏县| 静乐县| 乌拉特中旗| 翼城县| 丰宁| 泉州市| 香港| 临沧市| 静海县| 清河县| 墨竹工卡县| 广汉市| 南昌市| 肃北| 太仓市| 新平| 邹平县| 永平县| 永仁县| 历史| 舒城县| 海丰县| 台湾省| 衡山县| 五家渠市| 竹山县| 通海县| 甘肃省|