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

首頁 > 數據庫 > Access > 正文

加密你的Access數據庫asp打開方法

2024-09-07 19:04:15
字體:
來源:轉載
供稿:網友
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

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 修武县| 乐安县| 平泉县| 珲春市| 陕西省| 台中市| 天柱县| 全南县| 石门县| 商城县| 河间市| 儋州市| 页游| 永宁县| 马山县| 新密市| 格尔木市| 白山市| 洪江市| 思茅市| 南宁市| 永泰县| 台湾省| 连云港市| 永登县| 孟津县| 古田县| 达孜县| 东山县| 自治县| 额济纳旗| 宜春市| 峨山| 平邑县| 汽车| 彭州市| 清苑县| 湛江市| 冀州市| 永顺县| 渝中区|