国产探花免费观看_亚洲丰满少妇自慰呻吟_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

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 高平市| 连城县| 吴桥县| 邹平县| 翼城县| 威海市| 涡阳县| 湘潭县| 囊谦县| 宁德市| 黑龙江省| 南和县| 安平县| 扶风县| 洛川县| 克山县| 攀枝花市| 甘洛县| 新野县| 阳城县| 西丰县| 吉木乃县| 万载县| 普安县| 前郭尔| 乌拉特后旗| 南投县| 咸丰县| 南充市| 得荣县| 原阳县| 田阳县| 五莲县| 辽阳县| 泽普县| 江阴市| 汝州市| 霍山县| 浙江省| 梅州市| 遂宁市|